From 4784e0a2812085f4f7d347418cdd5f5d37dd1581 Mon Sep 17 00:00:00 2001 From: Cain <75994858+cainthebest@users.noreply.github.com> Date: Sat, 7 Sep 2024 00:58:27 +0100 Subject: [PATCH] chore(buf): format a line for ci --- crates/lib/src/buffer.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/lib/src/buffer.rs b/crates/lib/src/buffer.rs index 581ce8f..d16745d 100644 --- a/crates/lib/src/buffer.rs +++ b/crates/lib/src/buffer.rs @@ -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() ))); }