diff options
Diffstat (limited to 'vendor/gix-refspec/src/write.rs')
-rw-r--r-- | vendor/gix-refspec/src/write.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/gix-refspec/src/write.rs b/vendor/gix-refspec/src/write.rs index 74c71c6e1..70036d864 100644 --- a/vendor/gix-refspec/src/write.rs +++ b/vendor/gix-refspec/src/write.rs @@ -14,7 +14,7 @@ impl RefSpecRef<'_> { } /// Serialize ourselves in a parseable format to `out`. - pub fn write_to(&self, out: impl std::io::Write) -> std::io::Result<()> { + pub fn write_to(&self, out: &mut dyn std::io::Write) -> std::io::Result<()> { self.instruction().write_to(out) } } @@ -28,7 +28,7 @@ impl Instruction<'_> { } /// Serialize ourselves in a parseable format to `out`. - pub fn write_to(&self, mut out: impl std::io::Write) -> std::io::Result<()> { + pub fn write_to(&self, out: &mut dyn std::io::Write) -> std::io::Result<()> { match self { Instruction::Push(Push::Matching { src, |