1
0
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:
Paul-Christian Volkmer 2023-06-04 13:02:48 +02:00
parent fae48a186b
commit 53e9207cc5

View File

@ -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!");