Skip to main content

sole_block_sentinel

Function sole_block_sentinel 

Source
pub(crate) fn sole_block_sentinel(inner: &str) -> Option<BlockSentinelKind>
Expand description

If inner consists of exactly one block-sentinel character (optionally surrounded by ASCII whitespace), return its kind. Inline sentinels never qualify.