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; mod char_bag;
use crate::{ use crate::util;
util,
worktree::{EntryKind, Snapshot},
};
use gpui::executor; use gpui::executor;
use std::{ use std::{
borrow::Cow, borrow::Cow,
cmp::{max, min, Ordering}, cmp::Ordering,
path::Path, path::Path,
sync::atomic::{self, AtomicBool}, sync::atomic::{self, AtomicBool},
sync::Arc, sync::Arc,

View file

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