From 36524062517462be10b52d41f04c9d1a8a2b1f71 Mon Sep 17 00:00:00 2001 From: Dmitriy Pleshevskiy Date: Fri, 7 Aug 2020 15:07:19 +0300 Subject: [PATCH] chore: remove dead code --- src/channel.rs | 1 - src/lib.rs | 1 - 2 files changed, 2 deletions(-) diff --git a/src/channel.rs b/src/channel.rs index ccc10e9..689d928 100644 --- a/src/channel.rs +++ b/src/channel.rs @@ -5,7 +5,6 @@ use std::io::{BufRead, BufReader, BufWriter, Write}; use std::net::{TcpStream, ToSocketAddrs}; const DEFAULT_SONIC_PROTOCOL_VERSION: usize = 1; -const MAX_LINE_BUFFER_SIZE: usize = 20000; const UNINITIALIZED_MODE_MAX_BUFFER_SIZE: usize = 200; macro_rules! init_commands { diff --git a/src/lib.rs b/src/lib.rs index 9ff9d34..b0e6382 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -72,7 +72,6 @@ //! [sonic]: https://github.com/valeriansaliou/sonic // Rustc lints. -#![allow(dead_code)] #![deny( missing_debug_implementations, unsafe_code,