Skip to main content

scrub_text

Function scrub_text 

Source
pub fn scrub_text(text: &str) -> String
Expand description

Scrubs a bare error message with the same rules as a JSON body.