aboutsummaryrefslogtreecommitdiff
path: root/crates/vfs
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-11-02 15:31:38 +0000
committerAleksey Kladov <[email protected]>2020-11-02 15:58:33 +0000
commitba8d6d1e4ea2590b31470171efc175b0301c5e1c (patch)
tree6304a61e803e5adf802abce8ae2d7066a2c5fef8 /crates/vfs
parent731b38fa3c1694648e6c8e60f61820f9783343eb (diff)
Remove more unreachable pubs
Diffstat (limited to 'crates/vfs')
-rw-r--r--crates/vfs/src/vfs_path.rs4
1 files changed, 2 insertions, 2 deletions
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 {
120 120
121#[cfg(windows)] 121#[cfg(windows)]
122mod windows_paths { 122mod windows_paths {
123 pub trait Encode { 123 pub(crate) trait Encode {
124 fn encode(&self, buf: &mut Vec<u8>); 124 fn encode(&self, buf: &mut Vec<u8>);
125 } 125 }
126 126
@@ -149,7 +149,7 @@ mod windows_paths {
149 } 149 }
150 } 150 }
151 151
152 pub const SEP: &str = "\\"; 152 pub(crate) const SEP: &str = "\\";
153 const VERBATIM: &str = "\\\\?\\"; 153 const VERBATIM: &str = "\\\\?\\";
154 const UNC: &str = "UNC"; 154 const UNC: &str = "UNC";
155 const DEVICE: &str = "\\\\.\\"; 155 const DEVICE: &str = "\\\\.\\";