From 9304126be5633d4e7d384a8df87f5833a7a145e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9E=97=E7=82=B3=E6=9D=83?= <695601626@qq.com> Date: Thu, 11 Apr 2024 06:08:23 +0800 Subject: chore: update to Rust 1.77.2 (#23262) update to Rust 1.77.2 --------- Co-authored-by: Matt Mastracci --- cli/tools/vendor/test.rs | 8 -------- 1 file changed, 8 deletions(-) (limited to 'cli/tools/vendor/test.rs') diff --git a/cli/tools/vendor/test.rs b/cli/tools/vendor/test.rs index c5e98c05e..d54bf5dc5 100644 --- a/cli/tools/vendor/test.rs +++ b/cli/tools/vendor/test.rs @@ -144,10 +144,6 @@ struct TestVendorEnvironment { } impl VendorEnvironment for TestVendorEnvironment { - fn cwd(&self) -> Result { - Ok(make_path("/")) - } - fn create_dir_all(&self, dir_path: &Path) -> Result<(), AnyError> { let mut directories = self.directories.borrow_mut(); for path in dir_path.ancestors() { @@ -169,10 +165,6 @@ impl VendorEnvironment for TestVendorEnvironment { ); Ok(()) } - - fn path_exists(&self, path: &Path) -> bool { - self.files.borrow().contains_key(&path.to_path_buf()) - } } pub struct VendorOutput { -- cgit v1.2.3