1
0
mirror of https://github.com/pcvolkmer/osc-variant.git synced 2025-04-19 19:56:50 +00:00

chore: remove obsolete return

This commit is contained in:
Paul-Christian Volkmer 2024-11-03 17:43:45 +01:00
parent e053c212df
commit c80867a994

View File

@ -167,7 +167,7 @@ impl TryFrom<InputFile> for OnkostarEditor {
type Error = FileError;
fn try_from(value: InputFile) -> Result<Self, Self::Error> {
return match value {
match value {
InputFile::Osc {
filename, content, ..
} => match OnkostarEditor::from_str(content.as_str()) {
@ -179,7 +179,7 @@ impl TryFrom<InputFile> for OnkostarEditor {
| InputFile::Other { filename, .. } => {
Err(FileError::Parsing(filename, "Keine OSC-Datei".to_string()))
}
};
}
}
}