Skip to main content

with_extension

Function with_extension 

Source
pub fn with_extension(
    file_name: Option<&str>,
    extension: &str,
) -> Option<String>
Expand description

file_name with extension appended when it carries none, or None when there is no file name to extend.