summaryrefslogtreecommitdiffstats
path: root/vendor/gix-lock/src/file.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/gix-lock/src/file.rs')
-rw-r--r--vendor/gix-lock/src/file.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/gix-lock/src/file.rs b/vendor/gix-lock/src/file.rs
index 24ec98f13..e0c17bbf6 100644
--- a/vendor/gix-lock/src/file.rs
+++ b/vendor/gix-lock/src/file.rs
@@ -48,7 +48,7 @@ mod io_impls {
}
fn flush(&mut self) -> io::Result<()> {
- self.inner.with_mut(|f| f.flush())?
+ self.inner.with_mut(io::Write::flush)?
}
}