From 663df7bdc28fd5cd665cf0f86dc873906c50eb28 Mon Sep 17 00:00:00 2001 From: Lucien Greathouse Date: Mon, 28 Jan 2019 11:23:19 -0800 Subject: [PATCH] Remove redundant debug assertions in imfs --- server/src/imfs.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/server/src/imfs.rs b/server/src/imfs.rs index f2c611e0..26ccc4db 100644 --- a/server/src/imfs.rs +++ b/server/src/imfs.rs @@ -100,11 +100,6 @@ impl Imfs { } pub fn path_moved(&mut self, from_path: &Path, to_path: &Path) -> io::Result<()> { - debug_assert!(from_path.is_absolute()); - debug_assert!(self.is_within_roots(from_path)); - debug_assert!(to_path.is_absolute()); - debug_assert!(self.is_within_roots(to_path)); - self.path_removed(from_path)?; self.path_created(to_path)?; Ok(())