Skip to content

Commit

Permalink
Attempt to fix compilation error for write! (may have used too new sy…
Browse files Browse the repository at this point in the history
…ntax)
  • Loading branch information
hpenne committed Jan 10, 2025
1 parent 1adaec7 commit 6fda922
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/buf/buf_impl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ impl std::fmt::Display for TryGetError {
requested,
available,
} => {
write!(f, "Not enough bytes remaining in buffer to read value (requested {requested} but only {available} available)")
write!(f, "Not enough bytes remaining in buffer to read value (requested {} but only {} available)", requested, available)
}
}
}
Expand Down

0 comments on commit 6fda922

Please sign in to comment.