syntax_data: {"ast_node_type":"function","tokens":[{"end":62,"kind":"keyword","start":0,"text":"pub"}]}
source_snippet:     pub fn toggle_allowed(&self) -> Result<(), &'static str> {
context_before:     /// `requires_nightly`.)
context_after:         match self {