chore: remove dead code

This commit is contained in:
Dmitriy Pleshevskiy 2020-08-07 15:07:19 +03:00
parent 8a0d3f9772
commit 3652406251
2 changed files with 0 additions and 2 deletions

View file

@ -5,7 +5,6 @@ use std::io::{BufRead, BufReader, BufWriter, Write};
use std::net::{TcpStream, ToSocketAddrs}; use std::net::{TcpStream, ToSocketAddrs};
const DEFAULT_SONIC_PROTOCOL_VERSION: usize = 1; const DEFAULT_SONIC_PROTOCOL_VERSION: usize = 1;
const MAX_LINE_BUFFER_SIZE: usize = 20000;
const UNINITIALIZED_MODE_MAX_BUFFER_SIZE: usize = 200; const UNINITIALIZED_MODE_MAX_BUFFER_SIZE: usize = 200;
macro_rules! init_commands { macro_rules! init_commands {

View file

@ -72,7 +72,6 @@
//! [sonic]: https://github.com/valeriansaliou/sonic //! [sonic]: https://github.com/valeriansaliou/sonic
// Rustc lints. // Rustc lints.
#![allow(dead_code)]
#![deny( #![deny(
missing_debug_implementations, missing_debug_implementations,
unsafe_code, unsafe_code,