diff --git a/src/main.rs b/src/main.rs index 61cffe5..5bee6b5 100644 --- a/src/main.rs +++ b/src/main.rs @@ -50,7 +50,7 @@ fn main() { } if show_pwd { let repo_path = match git_info { - Some(info) => Some(info.0), // Clone to avoid ownership issues + Some(info) => Some(info.0), None => None, }; components.insert(