mirror of
https://github.com/actix/actix-extras.git
synced 2025-06-29 19:24:58 +02:00
calculate prefix dynamicly
This commit is contained in:
@ -543,11 +543,6 @@ mod tests {
|
||||
err: None,
|
||||
}
|
||||
}
|
||||
fn feed_data(&mut self, data: &'static str) {
|
||||
let mut b = BytesMut::from(self.buf.as_ref());
|
||||
b.extend(data.as_bytes());
|
||||
self.buf = b.take().freeze();
|
||||
}
|
||||
}
|
||||
|
||||
impl AsyncRead for Buffer {}
|
||||
|
Reference in New Issue
Block a user