Skip to content

Commit

Permalink
Small code formatting fix in Display for TryGetError.
Browse files Browse the repository at this point in the history
  • Loading branch information
hpenne committed Jan 17, 2025
1 parent aae8ba8 commit 6754190
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,8 @@ impl core::fmt::Display for TryGetError {
f,
"Not enough bytes remaining in buffer to read value (requested {} but only {} available)",
self.requested,
self.available)
self.available
)
}
}

Expand Down

0 comments on commit 6754190

Please sign in to comment.