Remove text utility functions in anticipation of API change

This commit is contained in:
Armin Ronacher 2021-01-23 22:07:56 +01:00
parent ca19caddc2
commit c9b0aa2eef
2 changed files with 2 additions and 45 deletions

View file

@ -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: