Skip to main content

scan_names

Function scan_names 

Source
pub fn scan_names(rel: &str, source: &str) -> Vec<Hit>
Expand description

The .name field reads of one Rust file (rel is its repo-relative path, for the report): .name not followed by (, on anything but self, outside tests and lines let through by NAME_MARKER. A hit’s text is what was read (unit.name).