in_str!
A procedural macro to generate a closure that checks if a character is in the provided literal string.
use in_str;
let _ = in_str!;
// equals to
let _ = ;
// usually faster than
let _ = ;
// escape will be handled automatically
let _ = in_str!;
// equals to
let _ = ;
// also works with byte strings
let _ = in_str!;
// equals to
let _ = ;
// escape will be handled automatically
let _ = in_str!;
// equals to
let _ = ;