Skip to main content

closes_fence

Function closes_fence 

Source
fn closes_fence(line: &str, close: &str, open: &str) -> bool
Expand description

Whether line, whose fence run is close, ends the block open began: the same character, at least as long, and nothing after it.