about summary refs log tree commit diff
path: root/clippy_dev
diff options
context:
space:
mode:
authorCatherine <114838443+Centri3@users.noreply.github.com>2023-06-21 21:15:20 -0500
committerCatherine Flores <catherine.3.flores@gmail.com>2023-07-21 17:26:58 -0500
commit9cf1509b25889fad9743777602d472ffc8bd3ec2 (patch)
tree7e0c78617db91abb36a7ab8af1eedbc560c22a13 /clippy_dev
parentd2c9047a927758d6788c610d76695036ea7b57e2 (diff)
New lint `absolute_paths`
Diffstat (limited to 'clippy_dev')
-rw-r--r--clippy_dev/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_dev/src/lib.rs b/clippy_dev/src/lib.rs
index 4624451cff4..c4ae4f0e2bd 100644
--- a/clippy_dev/src/lib.rs
+++ b/clippy_dev/src/lib.rs
@@ -51,7 +51,7 @@ pub fn clippy_project_root() -> PathBuf {
     for path in current_dir.ancestors() {
         let result = std::fs::read_to_string(path.join("Cargo.toml"));
         if let Err(err) = &result {
-            if err.kind() == std::io::ErrorKind::NotFound {
+            if err.kind() == io::ErrorKind::NotFound {
                 continue;
             }
         }