From 75a0caf220888c1793b7daf6bfef7716a5576a20 Mon Sep 17 00:00:00 2001 From: Sean McArthur Date: Mon, 17 Feb 2020 16:37:56 -0800 Subject: [PATCH] fix warning about unnecessary parens --- src/hpack/table.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hpack/table.rs b/src/hpack/table.rs index dbb6bba..e7c8ce7 100644 --- a/src/hpack/table.rs +++ b/src/hpack/table.rs @@ -54,7 +54,7 @@ struct Pos { #[derive(Debug, Copy, Clone, Eq, PartialEq)] struct HashValue(usize); -const MAX_SIZE: usize = (1 << 16); +const MAX_SIZE: usize = 1 << 16; const DYN_OFFSET: usize = 62; macro_rules! probe_loop {