Skip to content

Commit 67d0885

Browse files
Update src/escape.rs
Co-authored-by: Jiahao XU <Jiahao_XU@outlook.com>
1 parent c4ded38 commit 67d0885

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/escape.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ pub(crate) fn escape(s: &OsStr) -> Cow<'_, OsStr> {
3232
}
3333

3434
let mut escaped = Vec::with_capacity(as_bytes.len() + 2);
35-
escaped.reserve(4);
3635
escaped.push(b'\'');
3736

3837
for &b in as_bytes {

0 commit comments

Comments
 (0)