Fix warnings

Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
This commit is contained in:
Nathan Sobo 2021-10-01 16:45:24 -06:00
parent 706925b781
commit 626fd2a2aa
2 changed files with 3 additions and 6 deletions

View File

@ -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,

View File

@ -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) {