Fix warnings

Nathan Sobo and Max Brunsfeld created

Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>

Change summary

zed/src/fuzzy.rs    | 7 ++-----
zed/src/worktree.rs | 2 +-
2 files changed, 3 insertions(+), 6 deletions(-)

Detailed changes

zed/src/fuzzy.rs 🔗

@@ -1,13 +1,10 @@
 mod char_bag;
 
-use crate::{
-    util,
-    worktree::{EntryKind, Snapshot},
-};
+use crate::util;
 use gpui::executor;
 use std::{
     borrow::Cow,
-    cmp::{max, min, Ordering},
+    cmp::Ordering,
     path::Path,
     sync::atomic::{self, AtomicBool},
     sync::Arc,

zed/src/worktree.rs 🔗

@@ -2796,7 +2796,7 @@ mod tests {
     use rand::prelude::*;
     use serde_json::json;
     use std::time::UNIX_EPOCH;
-    use std::{env, fmt::Write, os::unix, time::SystemTime};
+    use std::{env, fmt::Write, time::SystemTime};
 
     #[gpui::test]
     async fn test_traversal(cx: gpui::TestAppContext) {