mirror of
https://github.com/pcvolkmer/osc-variant.git
synced 2025-04-19 19:56:50 +00:00
Remove not required 'mut' keyword
This commit is contained in:
parent
fae48a186b
commit
53e9207cc5
@ -69,7 +69,7 @@ fn main() {
|
||||
let contents =
|
||||
fs::read_to_string(inputfile).expect("Should have been able to read the file");
|
||||
|
||||
if let Ok(mut data) = from_str::<OnkostarEditor>(contents.as_str()) {
|
||||
if let Ok(data) = from_str::<OnkostarEditor>(contents.as_str()) {
|
||||
data.list_forms()
|
||||
} else {
|
||||
eprintln!("Kann Eingabedatei nicht lesen!");
|
||||
|
Loading…
x
Reference in New Issue
Block a user