Skip to main content

describe_private_at

Function describe_private_at 

pub fn describe_private_at(source: &str, offset: usize) -> Option<String>
Expand description

#2618: a hover for the contextual private modifier under the cursor: an identifier spelled private immediately before a fn, type, messages, asset, embed or const keyword, the one position the parser reads it as the modifier. None anywhere else, where private is an ordinary name.