Skip to main content

extract_help_topic

Function extract_help_topic 

Source
fn extract_help_topic(pair: &Pair<'_, Rule>) -> String
Expand description

Extract the topic name from a help expression for ?foo or ?foo(...). Strips leading ?, then extracts the function name from call expressions (e.g. plot(1:10)plot).