mirror of
https://github.com/fafhrd91/actix-web
synced 2025-02-17 10:13:30 +01:00
clippy
This commit is contained in:
parent
35cadbbe0b
commit
b492b27e4a
@ -72,7 +72,7 @@ impl BigBytes {
|
||||
// Returns a slice of the frontmost buffer
|
||||
pub(super) fn front_slice(&self) -> &[u8] {
|
||||
if let Some(front) = self.frozen.front() {
|
||||
&front
|
||||
front
|
||||
} else {
|
||||
&self.buffer
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user