bookdata::cleaning::names

Function preclean

Source
fn preclean<'a>(name: &'a str) -> Option<&'a str>
Expand description

Pre-clean a string without copying.

Many strings don’t need advanced cleaning. This method tries to pre-clean a string. If the string cannot be pre-cleaned, it returns None.