bookdata::parsing

Function trim_opt

Source
pub fn trim_opt<'a>(s: &'a str) -> Option<&'a str>
Expand description

Trim a string, and convert to None if it is empty.