Jump to content

Main public logs

Combined display of all available logs of JOHNWICK. You can narrow down the view by selecting a log type, the username (case-sensitive), or the affected page (also case-sensitive).

Logs
  • 08:34, 17 November 2025 PC talk contribs created page How to Print the Type of a Variable in Rust (The Practical, Zero-Crate Way) (Created page with "“What type is this?” is one of those questions you ask a dozen times a day while learning or debugging Rust. Good news: you don’t need nightly features or extra crates to peek at a value’s type — the standard library already has your back. Summary Use the functions in std::any: use std::any::{type_name, type_name_of_val}; fn main() { let mut my_number = 32.90; // defaults to f64 println!("{}", type_name_of_val(&my_number)); // prints "f64" // Alte...")