Fixed up some comments for LCS

This commit is contained in:
Armin Ronacher 2021-02-14 23:44:44 +01:00
parent bee5d88b02
commit a1d78c9be6
2 changed files with 2 additions and 1 deletions

View file

@ -38,6 +38,7 @@ fn main() {
* Myer's diff
* Patience diff
* HuntMcIlroy / HuntSzymanski LCS diff
* Diffing on arbitrary comparable sequences
* Line, word, character and grapheme level diffing
* Text and Byte diffing

View file

@ -6,7 +6,7 @@ use std::ops::{Index, Range};
use crate::algorithms::DiffHook;
/// Myers' diff algorithm.
/// HuntMcIlroy / HuntSzymanski LCS diff algorithm.
///
/// Diff `old`, between indices `old_range` and `new` between indices `new_range`.
pub fn diff<Old, New, D>(