diff options
Diffstat (limited to 'vendor/gix-lock/src/file.rs')
-rw-r--r-- | vendor/gix-lock/src/file.rs | 2 |
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)? } } |