Skip to main content

default_funcname_heading

Function default_funcname_heading 

Source
pub fn default_funcname_heading(line: &[u8]) -> Option<Vec<u8>>
Expand description

Port of def_ff (the default funcname heuristic): a line whose first byte is a letter, _, or $ is a section heading, truncated to the 80-byte header buffer with trailing whitespace trimmed.