Skip to content

Commit a793068

Browse files
Suppress warnings
1 parent abbd181 commit a793068

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

examples/practice2_d_maxflow.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
use ac_library_rs::MfGraph;
22
use std::io::Read;
3-
use std::iter;
43

4+
#[allow(clippy::many_single_char_names)]
5+
#[allow(clippy::needless_range_loop)]
56
fn main() {
67
const N: usize = 128;
78

src/maxflow.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#![allow(dead_code)]
12
use crate::internal_queue::SimpleQueue;
23
use std::cmp::min;
34
use std::iter;

0 commit comments

Comments
 (0)