diff --git a/src/write.rs b/src/write.rs index 6fc44c60..318b9bca 100644 --- a/src/write.rs +++ b/src/write.rs @@ -2181,7 +2181,7 @@ mod test { path.push("."); path.push("system32"); let path_str = super::path_to_string(&path); - assert_eq!(&path_str, "windows/system32"); + assert_eq!(&*path_str, "windows/system32"); } #[test]