diff --git a/README.md b/README.md index b3d3b80..e0d9ec9 100644 --- a/README.md +++ b/README.md @@ -38,6 +38,7 @@ fn main() { * Myer's diff * Patience diff +* Hunt–McIlroy / Hunt–Szymanski LCS diff * Diffing on arbitrary comparable sequences * Line, word, character and grapheme level diffing * Text and Byte diffing diff --git a/src/algorithms/lcs.rs b/src/algorithms/lcs.rs index 8f23500..cfab0d0 100644 --- a/src/algorithms/lcs.rs +++ b/src/algorithms/lcs.rs @@ -6,7 +6,7 @@ use std::ops::{Index, Range}; use crate::algorithms::DiffHook; -/// Myers' diff algorithm. +/// Hunt–McIlroy / Hunt–Szymanski LCS diff algorithm. /// /// Diff `old`, between indices `old_range` and `new` between indices `new_range`. pub fn diff(