more clippy fixes
This commit is contained in:
parent
88b4ea8fb6
commit
5c454551da
27 changed files with 140 additions and 184 deletions
|
@ -914,7 +914,7 @@ pub fn build_configuration(sess: &Session, mut user_cfg: CrateConfig) -> CrateCo
|
|||
pub(super) fn build_target_config(
|
||||
opts: &Options,
|
||||
target_override: Option<Target>,
|
||||
sysroot: &PathBuf,
|
||||
sysroot: &Path,
|
||||
) -> Target {
|
||||
let target_result = target_override.map_or_else(
|
||||
|| Target::search(&opts.target_triple, sysroot),
|
||||
|
|
|
@ -881,7 +881,7 @@ mod parse {
|
|||
match v {
|
||||
Some(s) => {
|
||||
if !slot.is_empty() {
|
||||
slot.push_str(",");
|
||||
slot.push(',');
|
||||
}
|
||||
slot.push_str(s);
|
||||
true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue