Which types are legal for x to be in this snippet?
if x { println!("ok"); }
bool and std::sync::atomic::AtomicBool
both bool and u8 (which is how bool is implemented under the hood)
only the primitive bool type
every type that implements the std::cmp::Truth trait