From 85958b001dbff8523396809bfa844fc34a7869a8 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Thu, 4 Jul 2019 11:57:47 -0700 Subject: Fix Windows build --- src/lib.rs | 3 --- src/util.rs | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) (limited to 'src') diff --git a/src/lib.rs b/src/lib.rs index 39a613a..0310aba 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -3,9 +3,6 @@ pub type Result = std::result::Result; #[macro_use] mod util; -// deal with OS complications (cribbed from rustup.rs) -mod remove_dir_all; - mod combiner; mod generator; mod scripter; diff --git a/src/util.rs b/src/util.rs index 8c1a9ca..868a636 100644 --- a/src/util.rs +++ b/src/util.rs @@ -83,7 +83,7 @@ pub fn open_file>(path: P) -> Result { /// Wraps `remove_dir_all` with a nicer error message. pub fn remove_dir_all>(path: P) -> Result<()> { - crate::remove_dir_all::remove_dir_all(path.as_ref()) + remove_dir_all::remove_dir_all(path.as_ref()) .with_context(|_| format!("failed to remove dir '{}'", path.as_ref().display()))?; Ok(()) } -- cgit v1.2.1