Fixed mistake in docs
This commit is contained in:
parent
b0f2a6f728
commit
8a6d1716ec
1 changed files with 3 additions and 1 deletions
|
|
@ -18,7 +18,9 @@
|
|||
//!
|
||||
//! The [`UnifiedDiff`] type supports both unicode and byte diffs for all
|
||||
//! types compatible with [`DiffableStr`]. You can pick between the two
|
||||
//! versions by using [`UnifiedDiff.to_string`] or [`UnifiedDiff.to_writer`].
|
||||
//! versions by using the [`Display`](std::fmt::Display) implementation or
|
||||
//! [`UnifiedDiff`] or [`UnifiedDiff::to_writer`].
|
||||
//!
|
||||
//! The former uses [`DiffableStr::to_string_lossy`], the latter uses
|
||||
//! [`DiffableStr::as_bytes`] for each line.
|
||||
#[cfg(feature = "text")]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue