Skip to main content

clean_reply

Function clean_reply 

Source
pub fn clean_reply(reply: &str, opening: &str) -> Result<String, String>
Expand description

What survives of the small call’s answer, or why nothing does.

The answer is parsed as JSON rather than scanned for a name: a backend that ignored the shape and wrote a sentence gets its sentence thrown away, and the derived name stays. Every rule here is about the difference between a name and an explanation — a name is one short line that does not end in a full stop.