mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-13 13:39:02 +00:00
Fix clippy warnings
This commit is contained in:
parent
2059e5a171
commit
c52c03b03c
2 changed files with 2 additions and 2 deletions
2
build.rs
2
build.rs
|
@ -97,7 +97,7 @@ fn detect_cfgs(target: &mut Target) {
|
|||
Ok(target.r#if("WEXITSTATUS(0x007f) == 0x7f", "sys/wait.h"))
|
||||
}),
|
||||
] {
|
||||
match handler(&target) {
|
||||
match handler(target) {
|
||||
Err(e) => rsconf::warn!("{}: {}", name, e),
|
||||
Ok(true) => rsconf::enable_cfg(name),
|
||||
Ok(false) => (),
|
||||
|
|
|
@ -2799,7 +2799,7 @@ impl ReaderData {
|
|||
replacement.extend(chr.to_lowercase());
|
||||
};
|
||||
capitalized_first = capitalized_first || make_uppercase;
|
||||
pos = pos + 1;
|
||||
pos += 1;
|
||||
}
|
||||
self.replace_substring(elt, init_pos..pos, replacement);
|
||||
self.update_buff_pos(elt, None);
|
||||
|
|
Loading…
Reference in a new issue