Misc: Remove potential panic in parse_mode_choice!

This commit is contained in:
Serial 2023-03-13 20:16:48 -04:00
parent 7d8136d763
commit 424a2c8d4c
No known key found for this signature in database
GPG key ID: DA95198DC17C4568

View file

@ -90,7 +90,7 @@ macro_rules! parse_mode_choice {
$(crate::probe::ParsingMode::Strict => { $strict_handler },)?
$(crate::probe::ParsingMode::Relaxed => { $relaxed_handler },)?
#[allow(unreachable_patterns)]
_ => { unreachable!() }
_ => {}
}
};
}