assert!(builder.config.extended);
let name = pkgname(builder, "rust-analysis");
- if &compiler.host != builder.config.build {
+ if compiler.host != builder.config.build {
return distdir(builder).join(format!("{}-{}.tar.gz", name, target));
}
Some(path) => path,
None => return false,
};
- if spath.ends_with("~") || spath.ends_with(".pyc") {
+ if spath.ends_with('~') || spath.ends_with(".pyc") {
return false;
}