Skip to content

Commit

Permalink
chore: fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
dignifiedquire committed Mar 4, 2024
1 parent d0bcece commit dcc823b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/buffer/std_buf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ impl StdBuf {
let len = self.len();

let buf_slice = unsafe { self.buf.as_mut_slice() };
buf_slice.copy_within(self.pos..self.pos+len, 0);
buf_slice.copy_within(self.pos..self.pos + len, 0);

self.pos = 0;
self.end = len;
Expand Down

0 comments on commit dcc823b

Please sign in to comment.