rust/rhg/src/commands/root.rs
changeset 51117 532e74ad3ff6
parent 49640 37bc3edef76f
--- a/rust/rhg/src/commands/root.rs	Mon Nov 06 11:02:18 2023 +0100
+++ b/rust/rhg/src/commands/root.rs	Mon Nov 06 11:06:08 2023 +0100
@@ -20,7 +20,7 @@
         .with_context(|| {
             IoErrorContext::CanonicalizingPath(working_directory.to_owned())
         })?;
-    let bytes = get_bytes_from_path(&working_directory);
+    let bytes = get_bytes_from_path(working_directory);
     invocation
         .ui
         .write_stdout(&format_bytes!(b"{}\n", bytes.as_slice()))?;