summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 2446e34..9a332ef 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -191,7 +191,7 @@ fn apply_hunk_to_tree<'repo>(
post
};
// next, write the added side of the hunk
- for line in &**hunk.added.lines {
+ for line in &*hunk.added.lines {
blobwriter.write_all(line)?;
}
// if this hunk removed lines from the old content, those must be