Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions R/diff.R
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,10 @@ diff_chr <- function(old, new, max_dist = Inf) {
#' @param old First string, must not be `NA`.
#' @param new Second string, must not be `NA`.
#' @inheritParams diff_chr
#' @return A list that is a `cli_diff_str` object and also a
#' `cli_diff_chr` object, see [diff_str] for the details about its
#' structure.
#' @return A list with class `cli_diff_str` and `cli_diff_chr`.
#' It represents the character-by-character diff between the input
#' strings and is primarily intended for printing.
#' See [print.cli_diff_str] and [format.cli_diff_str] for details.
#'
#' @family diff functions in cli
#' @seealso The diffobj package for a much more comprehensive set of
Expand Down
Loading