We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
debug_assert
panic_in_result_fn
1 parent 0dc61c8 commit fb131dfCopy full SHA for fb131df
1 file changed
src/core/adb.rs
@@ -348,8 +348,7 @@ impl PmCommand {
348
.map(|p_ln| {
349
debug_assert!(p_ln.starts_with(PACK_PREFIX));
350
let p = &p_ln[PACK_PREFIX.len()..];
351
- #[cfg(debug_assertions)]
352
- assert!(PackageId::new(p.into()).is_some() || p == "android");
+ debug_assert!(PackageId::new(p.into()).is_some() || p == "android");
353
String::from(p)
354
})
355
.collect()
0 commit comments