diff --git a/src/udiff.rs b/src/udiff.rs index 486ac6f..d232553 100644 --- a/src/udiff.rs +++ b/src/udiff.rs @@ -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")]