Skip to content

Commit 2a9416c

Browse files
committed
out out damn spot
1 parent a7adf07 commit 2a9416c

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

turbopack/crates/turbo-rcstr/src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
use std::{
2-
alloc::GlobalAlloc,
32
borrow::{Borrow, Cow},
43
ffi::OsStr,
54
fmt::{Debug, Display},
@@ -12,7 +11,6 @@ use std::{
1211

1312
use bytes_str::BytesStr;
1413
use debug_unreachable::debug_unreachable;
15-
use napi::threadsafe_function::ErrorStrategy::T;
1614
use serde::{Deserialize, Deserializer, Serialize, Serializer};
1715
use shrink_to_fit::ShrinkToFit;
1816
use triomphe::Arc;

turbopack/crates/turbo-tasks-fs/src/watcher.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ use std::{
1010
time::Duration,
1111
};
1212

13-
use anyhow::{Context, Result};
13+
use anyhow::Result;
1414
use notify::{
1515
Config, EventKind, PollWatcher, RecommendedWatcher, RecursiveMode, Watcher,
1616
event::{MetadataKind, ModifyKind, RenameMode},
@@ -113,6 +113,7 @@ impl DiskWatcher {
113113
dir_path: &Path,
114114
root_path: &Path,
115115
) -> Result<()> {
116+
use anyhow::Context;
116117
if let Some(watcher) = watcher.as_mut() {
117118
let mut path = dir_path;
118119
let err_with_context = |err| {

0 commit comments

Comments
 (0)