pub fn resolve(
text: &str,
own: Option<&str>,
other: impl FnMut(&str) -> Option<String>,
) -> StringExpand description
Replaces {key} with own’s text and {key:<command>} with
other(<command>)’s; a placeholder without an answer stays as it
is.