rust: Disallow lint `dead_code`
This commit is contained in:
parent
c23a257f3c
commit
4d57ba496d
|
|
@ -1,4 +1,3 @@
|
||||||
#![allow(dead_code)]
|
|
||||||
use std::collections::HashSet;
|
use std::collections::HashSet;
|
||||||
use std::iter;
|
use std::iter;
|
||||||
use std::net;
|
use std::net;
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
//! A simple P2P network simulator. Acts as the _reactor_, but without doing any I/O.
|
//! A simple P2P network simulator. Acts as the _reactor_, but without doing any I/O.
|
||||||
#![allow(dead_code)]
|
|
||||||
|
|
||||||
use std::cell::RefCell;
|
use std::cell::RefCell;
|
||||||
use std::collections::{BTreeMap, BTreeSet, HashSet, VecDeque};
|
use std::collections::{BTreeMap, BTreeSet, HashSet, VecDeque};
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue