Removed extra to_string() call

This commit is contained in:
benjamyn committed 2024-03-09 21:59:16 +11:00
1 parent 076113a359
commit 0d5c0d668e
1 file changed
+1 -1
+1 -1
View File
@@ -112,6 +112,6 @@ impl Config {
let mut file = File::open(file_path).unwrap();
let mut contents = String::new();
file.read_to_string(&mut contents).unwrap();
contents.to_string()
contents
}
}