chore: Fix clippy lints with minimal diff

This commit is contained in:
Jade Ellis 2025-08-22 00:51:54 +01:00
commit 8b35de6a43
No known key found for this signature in database
GPG key ID: 8705A2A3EBF77BD2
5 changed files with 8 additions and 3 deletions

View file

@ -1,3 +1,4 @@
#![allow(clippy::doc_link_with_quotes)]
pub mod check;
pub mod manager;
pub mod proxy;

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)]