Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed May 22, 2024
1 parent 3d31724 commit 67b35ea
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions crates/swc_ecma_transforms_typescript/tests/strip_correctness.rs
Original file line number Diff line number Diff line change
Expand Up @@ -166,15 +166,3 @@ fn identity(entry: PathBuf) {
})
.expect("failed to run test");
}

#[derive(Debug, Clone)]
struct Buf(Arc<RwLock<Vec<u8>>>);
impl Write for Buf {
fn write(&mut self, data: &[u8]) -> io::Result<usize> {
self.0.write().unwrap().write(data)
}

fn flush(&mut self) -> io::Result<()> {
self.0.write().unwrap().flush()
}
}

0 comments on commit 67b35ea

Please sign in to comment.