Skip to main content

documents_unbound

Function documents_unbound 

Source
pub fn documents_unbound<'a, T: Checker>(
    comment: &Node<'a>,
    code: &[u8],
    ancestors: Ancestors<'a, '_>,
) -> bool
Expand description

Re-exported because the LOC metric bills documentation through them — Go, Ruby and Lua runs by position, and the doc comments a bound language’s tool attaches — while the predicates beside them stay crate-private. Re-exported because the LOC metric bills documentation through them — Go, Ruby and Lua runs by position, and the doc comments a bound language’s tool attaches — while the predicates beside them stay crate-private. Re-exported because the LOC metric bills documentation through them — Go, Ruby and Lua runs by position, and the doc comments a bound language’s tool attaches — while the predicates beside them stay crate-private. Whether a doc comment documents without a following declaration, before documents_where_it_sits has its say: every doc comment of a language with no [Checker::DOC_BINDING], and a bound language’s that does not attach forward (DocBinding::forward). A forward one documents only through bound_doc_run (#1613).