feat: rename similar -> likewise
This commit is contained in:
parent
a169e29954
commit
7e86fb2e55
44 changed files with 64 additions and 391 deletions
|
|
@ -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];
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
---
|
||||
source: src/algorithms/lcs.rs
|
||||
assertion_line: 235
|
||||
expression: d.ops()
|
||||
---
|
||||
[
|
||||
|
|
@ -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"][..];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue