feat: rename similar -> likewise

This commit is contained in:
Barrett Ruth 2025-09-11 13:31:09 -05:00
parent a169e29954
commit 7e86fb2e55
44 changed files with 64 additions and 391 deletions

View file

@ -284,8 +284,8 @@ impl DiffOp {
/// the diffing algorithm functions.
///
/// ```rust
/// use similar::{ChangeTag, Algorithm};
/// use similar::capture_diff_slices;
/// use likewise::{ChangeTag, Algorithm};
/// use likewise::capture_diff_slices;
/// let old = vec!["foo", "bar", "baz"];
/// let new = vec!["foo", "bar", "blah"];
/// let ops = capture_diff_slices(Algorithm::Myers, &old, &new);
@ -322,8 +322,8 @@ impl DiffOp {
/// [`DiffOp::Replace`] operation is passed.
///
/// ```rust
/// use similar::{ChangeTag, Algorithm};
/// use similar::capture_diff_slices;
/// use likewise::{ChangeTag, Algorithm};
/// use likewise::capture_diff_slices;
/// let old = vec!["foo", "bar", "baz"];
/// let new = vec!["foo", "bar", "blah"];
/// let ops = capture_diff_slices(Algorithm::Myers, &old, &new);