Skip to main content

field_value

Function field_value 

Source
pub fn field_value<'a>(line: &'a str, field: &str) -> Option<&'a str>
Expand description

The value after field: on a spec line, trimmed and without the line’s comment, when the line names that field.