rust: Disallow lint `dead_code`

This commit is contained in:
Lorenz Leutgeb 2026-04-15 01:06:19 +02:00
parent c23a257f3c
commit 4d57ba496d
No known key found for this signature in database
2 changed files with 0 additions and 2 deletions

View File

@ -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;

View File

@ -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};