Skip to content

Commit e0549d6

Browse files
committed
Ignore items_after_statements pedantic clippy lint
warning: adding items after statements is confusing, since items exist from the start of the scope --> generate/src/main.rs:131:5 | 131 | / fn try_kuhn( 132 | | src: usize, 133 | | adj_list: &[Vec<usize>], 134 | | visited: &mut [bool], ... | 147 | | false 148 | | } | |_____^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#items_after_statements = note: `-W clippy::items-after-statements` implied by `-W clippy::pedantic` = help: to override `-W clippy::pedantic` add `#[allow(clippy::items_after_statements)]`
1 parent 73d7aaa commit e0549d6

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

generate/src/main.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
#![allow(
1212
clippy::cast_lossless,
1313
clippy::cast_possible_truncation, // https://github.com/rust-lang/rust-clippy/issues/9613
14+
clippy::items_after_statements,
1415
clippy::let_underscore_untyped,
1516
clippy::match_wild_err_arm,
1617
clippy::module_name_repetitions,

0 commit comments

Comments
 (0)