Remove text utility functions in anticipation of API change
This commit is contained in:
parent
ca19caddc2
commit
c9b0aa2eef
2 changed files with 2 additions and 45 deletions
11
src/lib.rs
11
src/lib.rs
|
|
@ -1,17 +1,6 @@
|
|||
//! This crate implements diffing utilities. It attempts to provide an abstraction
|
||||
//! interface over different types of diffing algorithms.
|
||||
//!
|
||||
//! # Example
|
||||
//!
|
||||
//! ```rust
|
||||
//! use similar::{text::diff_lines, algorithms::Algorithm};
|
||||
//! let old = "Hello World!\nMore stuff here.";
|
||||
//! let new = "Oh well World!\nMore stuff here.";
|
||||
//! for op in diff_lines(Algorithm::Myers, old, new) {
|
||||
//! println!("{}", op);
|
||||
//! }
|
||||
//! ```
|
||||
//!
|
||||
//! # Components
|
||||
//!
|
||||
//! The crate is split into two components:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue