Skip to content

Commit

Permalink
silence lint
Browse files Browse the repository at this point in the history
  • Loading branch information
tjjfvi committed May 27, 2024
1 parent c3abb12 commit 640894f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions runtime/src/trace.rs
Original file line number Diff line number Diff line change
Expand Up @@ -477,6 +477,7 @@ pub fn set_hook() {
}

#[cfg(feature = "trace")]
#[allow(clippy::absolute_paths)]
pub const fn type_name<T>() -> &'static str {
core::any::type_name::<T>()
}

0 comments on commit 640894f

Please sign in to comment.