Removed extra to_string() call
This commit is contained in:
parent
076113a359
commit
0d5c0d668e
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user