Removed extra to_string() call
This commit is contained in:
1 parent
076113a359
commit
0d5c0d668e
1 file changed
+1
-1
+1
-1
@@ -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
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user