Skip to content

Commit a0b4dbf

Browse files
d-e-s-odanielocfb
authored andcommitted
libbpf-cargo: Warn on clippy::absolute_paths
Commit 4ef1505 ("Enable clippy::absolute_paths lint") wrongly added the clippy::absolute_paths lint to the allow list in libbpf-cargo. Warn about it instead, as had been the intention. Signed-off-by: Daniel Müller <[email protected]>
1 parent bd00e5d commit a0b4dbf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

libbpf-cargo/src/main.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
#![allow(clippy::absolute_paths, clippy::let_unit_value)]
1+
#![allow(clippy::let_unit_value)]
2+
#![warn(clippy::absolute_paths)]
23

34
use std::path::PathBuf;
45

0 commit comments

Comments
 (0)