Skip to main content

line_has_allow

Function line_has_allow 

Source
fn line_has_allow(line: &str, code: &str) -> bool
Expand description

Check if a single line contains // mxl::allow(...) matching the given code.