Fixed up some comments for LCS
This commit is contained in:
parent
bee5d88b02
commit
a1d78c9be6
2 changed files with 2 additions and 1 deletions
|
|
@ -38,6 +38,7 @@ fn main() {
|
||||||
|
|
||||||
* Myer's diff
|
* Myer's diff
|
||||||
* Patience diff
|
* Patience diff
|
||||||
|
* Hunt–McIlroy / Hunt–Szymanski LCS diff
|
||||||
* Diffing on arbitrary comparable sequences
|
* Diffing on arbitrary comparable sequences
|
||||||
* Line, word, character and grapheme level diffing
|
* Line, word, character and grapheme level diffing
|
||||||
* Text and Byte diffing
|
* Text and Byte diffing
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ use std::ops::{Index, Range};
|
||||||
|
|
||||||
use crate::algorithms::DiffHook;
|
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`.
|
/// Diff `old`, between indices `old_range` and `new` between indices `new_range`.
|
||||||
pub fn diff<Old, New, D>(
|
pub fn diff<Old, New, D>(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue