Skip to content

Commit 2b52d6e

Browse files
Copilotsamueltardieu
authored andcommitted
chore(clippy): enable new lints
1 parent e462db6 commit 2b52d6e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ module_name_repetitions = { level = "allow", priority = 1 }
4848
too_long_first_doc_paragraph = { level = "allow", priority = 1 } # Temporary
4949
pedantic = "deny"
5050
missing_const_for_fn = "deny"
51-
# Do not activate until Clippy issue #13356 is fixed
52-
#allow_attributes = "deny"
51+
redundant_clone = "deny"
52+
allow_attributes = "deny"
5353

5454
[[bench]]
5555
name = "algos"

src/directed/bfs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ where
172172
///
173173
/// Find also a more interesting example, comparing regular
174174
/// and bidirectional BFS [here](https://github.com/evenfurther/pathfinding/blob/main/examples/bfs_bidirectional.rs).
175-
#[allow(clippy::missing_panics_doc)]
175+
#[expect(clippy::missing_panics_doc)]
176176
pub fn bfs_bidirectional<'a, N, S, E, FNS, FNP, IN>(
177177
start: S,
178178
end: E,

0 commit comments

Comments
 (0)