Skip to main content

strip_declaration

Function strip_declaration 

Source
pub fn strip_declaration(text: &str, id: &str) -> String
Expand description

text without the drone’s declarations of lesson id (every <id>: applies|skip that declared reads, the id and the word both): the judge’s evidence for a question whose declaration it must not see (hook.rs stripped). Other lessons’ declarations and the rest of the text stay.