fn is_rs_file(src: &Path) -> bool {
    // assert_eq!("rs", path.extension().unwrap());
    match src.extension() {
        Some(ext) => ext == "rs",
        None => false,
    }
}
// We use lib.rs to lean on Rusts build system, but we do not want it or any other rust files to be copied
We use lib.rs to lean on Rusts build system, but we do not want it or any other rust files to be copied
We use lib . rs to lean on Rusts build system but we do not want it or any other rust files to be copied
fn is_rs_file(src: &Path) -> bool {
    // assert_eq!("rs", path.extension().unwrap());
    match src.extension() {
        Some(ext) => ext == "rs",
        None => false,
    }
}
fn is_rs_file ( src : & Path ) -> bool { // assert_eq!("rs", path.extension().unwrap()); match src . extension ( ) { Some ( ext ) => ext == " " , None => false , } }
We use lib.rs to lean on Rusts build system, but we do not want it or any other rust files to be copied
We use lib . rs to lean on Rusts build system but we do not want it or any other rust files to be copied
src
&Path
src
&Path