//! This module tells whether a heading of a document is the heading of a
//! section, as the schema check matches it.
use ;
use crate::;
/// `opens` reports whether the heading `h` of `doc` is the heading of the
/// section `j` of `sections`, the schema's sections, given `matches`, the
/// section that `check::match_headings` matches each heading to: the match
/// gives the heading to the section, and the heading stands at the
/// section's level. A heading that only stands in the place of a heading
/// bound to the frontmatter (`MatchedBy::Place`), which the check repairs,
/// and a heading at another level, which the check reports, open nothing.
pub