cargo fmt + clippy --fix: 104 format violations fixed, 8 clippy auto-fixes
This commit is contained in:
@@ -143,7 +143,9 @@ fn parse_playback_config(xml: &str, map: &mut HashMap<String, u16>) {
|
||||
while pos < xml.len() {
|
||||
let tag_start = if let Some(p) = xml[pos..].find("<AudioStreams>") {
|
||||
Some(p + pos)
|
||||
} else { xml[pos..].find("<SubtitlesStreams>").map(|p| p + pos) };
|
||||
} else {
|
||||
xml[pos..].find("<SubtitlesStreams>").map(|p| p + pos)
|
||||
};
|
||||
|
||||
let tag_start = match tag_start {
|
||||
Some(p) => p,
|
||||
|
||||
Reference in New Issue
Block a user