INNER CODE UNIT · Rust

Some

David-OConnor/plascad · src/file_io/mod.rs:101

    if let Some(file_name) = path.file_stem() {
        file_name
            .to_str()
            .map(|s| s.to_string())
            .unwrap_or_default()
    } else {
        String::new()
    }
}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…