Skip to main content

keyword_doc

Function keyword_doc 

Source
pub fn keyword_doc(word: &str) -> Option<&'static str>
Expand description

The one-line doc for a name in the keywords registry, if present. pub so hover’s bare-keyword fallback (ADR 0156) can reuse it — completion and hover render the same doc, never a parallel copy.