Skip to content

Commit

Permalink
chore(buf): format a line for ci
Browse files Browse the repository at this point in the history
  • Loading branch information
cainthebest committed Sep 6, 2024
1 parent 786e9da commit 4784e0a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/lib/src/buffer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,8 @@ impl<'a, B: ByteOrder> Buffer<'a, B> {
if self.cursor > self.data_length() {
return Err(PacketUnderflow.context(format!(
"Cursor position {} is out of bounds when reading string. Buffer length: {}",
self.cursor, self.data_length()
self.cursor,
self.data_length()
)));
}

Expand Down

0 comments on commit 4784e0a

Please sign in to comment.