pub fn some(v: &str) -> Option<&str>
Convert a string into an option based on whether it is empty.
This takes a string v and tests whether it is empty. If it is, it will yield None, otherwise it will yield Some(v).
v
None
Some(v)