Function miniscript::expression::check_valid_chars
source · pub fn check_valid_chars(s: &str) -> Result<(), Error>
Expand description
Filter out non-ASCII because we byte-index strings all over the place and Rust gets very upset when you splinch a string.