chore: Fix clippy lints with minimal diff

This commit is contained in:
Jade Ellis
2025-08-22 00:51:54 +01:00
parent d191494f18
commit 8b35de6a43
5 changed files with 8 additions and 3 deletions
+1 -1
View File
@@ -100,7 +100,7 @@ pub fn trap() {
#[must_use]
pub fn panic_str(p: &Box<dyn Any + Send>) -> &'static str {
p.downcast_ref::<&str>().copied().unwrap_or_default()
(**p).downcast_ref::<&str>().copied().unwrap_or_default()
}
#[inline(always)]