Skip to main content

MAX_DEPTH

Constant MAX_DEPTH 

Source
pub const MAX_DEPTH: u32 = 1000;
Expand description

Max nesting (recursion plus left-associative operator chains) before the parser gives up, so hostile input can’t build an endlessly deep tree.