From 67b35ea2015ab51f56e26a861f20a54bb76541d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B0=95=EB=8F=99=EC=9C=A4=20=28Donny=29?= Date: Wed, 22 May 2024 18:41:00 +0900 Subject: [PATCH] lint --- .../tests/strip_correctness.rs | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/crates/swc_ecma_transforms_typescript/tests/strip_correctness.rs b/crates/swc_ecma_transforms_typescript/tests/strip_correctness.rs index db36d3e28faf..ff46c7f2833d 100644 --- a/crates/swc_ecma_transforms_typescript/tests/strip_correctness.rs +++ b/crates/swc_ecma_transforms_typescript/tests/strip_correctness.rs @@ -166,15 +166,3 @@ fn identity(entry: PathBuf) { }) .expect("failed to run test"); } - -#[derive(Debug, Clone)] -struct Buf(Arc>>); -impl Write for Buf { - fn write(&mut self, data: &[u8]) -> io::Result { - self.0.write().unwrap().write(data) - } - - fn flush(&mut self) -> io::Result<()> { - self.0.write().unwrap().flush() - } -}