Skip to main content

split_purpose

Function split_purpose 

Source
pub fn split_purpose(text: &str) -> (String, Vec<String>)
Expand description

Separates #tags from the answer to “what is it for?”.

Saving asks one question rather than filling in a form, so tags ride along in the answer the way they do in a commit message or a post: any word that starts with # becomes a tag and the rest is the description.