Skip to content

Commit 51ca834

Browse files
CopilotByron
andcommitted
Fix documentation example - remove unnecessary mut keyword
Co-authored-by: Byron <[email protected]>
1 parent 5349d2c commit 51ca834

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gix-diff/src/blob/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ pub mod v0_2 {
2929
/// let after = "fn foo() {\n let x = 2;\n}\n";
3030
///
3131
/// let input = InternedInput::new(before, after);
32-
/// let mut diff = diff_with_slider_heuristics(Algorithm::Histogram, &input);
32+
/// let diff = diff_with_slider_heuristics(Algorithm::Histogram, &input);
3333
///
3434
/// // The diff now has slider heuristics applied
3535
/// assert_eq!(diff.count_removals(), 1);

0 commit comments

Comments
 (0)