Skip to main content

draft_preview

Function draft_preview 

pub fn draft_preview(body: &str) -> Option<String>
Expand description

The first line of a draft body, whitespace folded and elided: what a conversation list shows under a name. None when there is nothing to say (a body of spaces is not a draft).