From ba8d6d1e4ea2590b31470171efc175b0301c5e1c Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Mon, 2 Nov 2020 16:31:38 +0100 Subject: Remove more unreachable pubs --- crates/vfs/src/vfs_path.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crates/vfs') diff --git a/crates/vfs/src/vfs_path.rs b/crates/vfs/src/vfs_path.rs index 7a213fc3e..815697597 100644 --- a/crates/vfs/src/vfs_path.rs +++ b/crates/vfs/src/vfs_path.rs @@ -120,7 +120,7 @@ impl VfsPath { #[cfg(windows)] mod windows_paths { - pub trait Encode { + pub(crate) trait Encode { fn encode(&self, buf: &mut Vec); } @@ -149,7 +149,7 @@ mod windows_paths { } } - pub const SEP: &str = "\\"; + pub(crate) const SEP: &str = "\\"; const VERBATIM: &str = "\\\\?\\"; const UNC: &str = "UNC"; const DEVICE: &str = "\\\\.\\"; -- cgit v1.2.3