Skip to main content

in_limits_field_position

Function in_limits_field_position 

Source
pub fn in_limits_field_position(text: &str, offset: usize) -> bool
Expand description

v0.142 (ADR 0165): the cursor is at a field-name position inside a limits { … } block — the innermost open brace is opened by limits, and the current field segment has no : yet. Mirrors in_security_field_position.