rust/hg-core/src/filepatterns.rs
changeset 48311 6d69e83e6b6e
parent 47409 0ef8231e413f
child 49482 5fbdd88824dc
--- a/rust/hg-core/src/filepatterns.rs	Tue Nov 09 15:25:38 2021 +0100
+++ b/rust/hg-core/src/filepatterns.rs	Tue Oct 26 19:47:30 2021 +0100
@@ -536,7 +536,7 @@
         Ok(Self {
             prefix: path_to_hg_path_buf(prefix).and_then(|mut p| {
                 if !p.is_empty() {
-                    p.push(b'/');
+                    p.push_byte(b'/');
                 }
                 Ok(p)
             })?,