Skip to main content

with_canonical_text

Function with_canonical_text 

Source
pub fn with_canonical_text<R>(f: impl FnOnce(&str) -> R) -> R
Expand description

run a function with the canonical text (ascii: the bytes are the code units)