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:
parent
e053c212df
commit
c80867a994
@ -167,7 +167,7 @@ impl TryFrom<InputFile> for OnkostarEditor {
|
|||||||
type Error = FileError;
|
type Error = FileError;
|
||||||
|
|
||||||
fn try_from(value: InputFile) -> Result<Self, Self::Error> {
|
fn try_from(value: InputFile) -> Result<Self, Self::Error> {
|
||||||
return match value {
|
match value {
|
||||||
InputFile::Osc {
|
InputFile::Osc {
|
||||||
filename, content, ..
|
filename, content, ..
|
||||||
} => match OnkostarEditor::from_str(content.as_str()) {
|
} => match OnkostarEditor::from_str(content.as_str()) {
|
||||||
@ -179,7 +179,7 @@ impl TryFrom<InputFile> for OnkostarEditor {
|
|||||||
| InputFile::Other { filename, .. } => {
|
| InputFile::Other { filename, .. } => {
|
||||||
Err(FileError::Parsing(filename, "Keine OSC-Datei".to_string()))
|
Err(FileError::Parsing(filename, "Keine OSC-Datei".to_string()))
|
||||||
}
|
}
|
||||||
};
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user