Skip to content

Commit 71492ce

Browse files
committed
wip
1 parent 99f2b2c commit 71492ce

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

helix-core/src/path.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -174,14 +174,6 @@ pub fn is_sep_byte(b: u8) -> bool {
174174
}
175175

176176
pub fn escape_path(path: &Path) -> PathBuf {
177-
// let mut res = Vec::with_capacity(path.as_ref().as_os_str().len());
178-
// for component in path.as_ref() {
179-
// let mut bytes = vec![b'%'];
180-
// bytes.append(&mut path_as_bytes(component));
181-
// res.append(&mut bytes);
182-
// }
183-
// path_from_bytes(&res).unwrap()
184-
185177
let s = path.as_os_str().to_os_string();
186178
let mut bytes = os_str_as_bytes(&s);
187179
for b in bytes.iter_mut() {

0 commit comments

Comments
 (0)