chore: Fix clippy lints (#881)

This commit is contained in:
tottoto
2022-01-12 16:32:40 -05:00
committed by GitHub
parent 4548997080
commit 366d888a4b
10 changed files with 17 additions and 20 deletions
+1 -9
View File
@@ -28,19 +28,11 @@ mod util;
tonic::include_proto!("test");
#[derive(Debug)]
#[derive(Debug, Default)]
struct Svc {
disable_compressing_on_response: bool,
}
impl Default for Svc {
fn default() -> Self {
Self {
disable_compressing_on_response: false,
}
}
}
const UNCOMPRESSED_MIN_BODY_SIZE: usize = 1024;
impl Svc {