1
0
Fork 0
forked from AbleOS/ableos
ableOS_v1Change/ableos/src/utils.rs

9 lines
110 B
Rust
Raw Normal View History

//! Small generic utilities
//!
//!
//!
pub fn type_of<T>(_: &T) -> &str {
core::any::type_name::<T>()
}