Provide a simple proc macro charize
convert token to char.
rust
pub fn main() {
assert_eq!('o', charize::charize!(o));
assert_eq!('1', charize::charize!(1));
assert_eq!('我', charize::charize!(我));
assert_eq!('P', charize::charize!(P));
assert_eq!('@', charize::charize!(@));
assert_eq!('&', charize::charize!(&));
}
MPL-2.0