Skip to main content

is_rust_source_dir

Function is_rust_source_dir 

Source
pub fn is_rust_source_dir(path: &Path) -> bool
Expand description

Returns true if the given path is a directory containing .rs files but no Cargo.toml (i.e. a loose collection of Rust source files).