Skip to main content

rust_module_key

Function rust_module_key 

Source
pub fn rust_module_key(src_prefix: &str, segments: &[String]) -> String
Expand description

The key of what Rust files at segments under src_prefix contain, for inline module lookups that consult those files. A Rust file added, removed or edited sets the key of its own module path.