Skip to main content

is_in_math_context

Function is_in_math_context 

Source
pub fn is_in_math_context(ctx: &LintContext<'_>, byte_pos: usize) -> bool
Expand description

Check if a byte position is within a math context (block or inline)