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

@ -21,7 +21,7 @@
//! between two sequences and capture the ops into a vector.
//!
//! ```rust
//! use similar::algorithms::{Algorithm, Replace, Capture, diff_slices};
//! use likewise::algorithms::{Algorithm, Replace, Capture, diff_slices};
//!
//! let a = vec![1, 2, 3, 4, 5];
//! let b = vec![1, 2, 3, 4, 7];

View file

@ -1,6 +1,5 @@
---
source: src/algorithms/lcs.rs
assertion_line: 235
expression: d.ops()
---
[

View file

@ -166,8 +166,8 @@ impl<Int> Index<usize> for OffsetLookup<Int> {
/// you first pass it via [`IdentifyDistinct`]:
///
/// ```rust
/// use similar::capture_diff;
/// use similar::algorithms::{Algorithm, IdentifyDistinct};
/// use likewise::capture_diff;
/// use likewise::algorithms::{Algorithm, IdentifyDistinct};
///
/// let old = &["foo", "bar", "baz"][..];
/// let new = &["foo", "blah", "baz"][..];