mirror of
https://github.com/tokio-rs/bytes.git
synced 2026-08-14 00:00:13 +02:00
Tweak Bytes helpers
This commit is contained in:
@@ -145,7 +145,7 @@ impl BlockBuf {
|
||||
|
||||
ret = Some(match ret.take() {
|
||||
Some(curr) => {
|
||||
curr.concat(&segment)
|
||||
curr.concat(segment)
|
||||
}
|
||||
None => segment,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user