Skip to content

Commit 0eab19c

Browse files
committed
Correct the too_many_arguments rule name for linting in CI
1 parent d5583ef commit 0eab19c

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

.github/workflows/rust.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,6 @@ jobs:
106106
- uses: actions-rs/cargo@v1
107107
with:
108108
command: clippy
109-
# `identity_op` and `or_fun_call` leads to false positives
110-
# `too-many-arguments` is relatively arbitrary
111-
args: -- -D warnings -A clippy::identity_op -A clippy::or_fun_call -A clippy::too-many-arguments
109+
# `identity_op` and `or_fun_call` may lead to false positives
110+
# `too_many_arguments` is relatively arbitrary
111+
args: -- -D warnings -A clippy::identity_op -A clippy::or_fun_call -A clippy::too_many_arguments

espflash/src/cli/mod.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,6 @@ pub fn board_info(opts: ConnectOpts, config: Config) -> Result<()> {
122122
Ok(())
123123
}
124124

125-
#[allow(clippy::too_many_arguments)]
126125
pub fn save_elf_as_image(
127126
chip: Chip,
128127
elf_data: &[u8],
@@ -220,7 +219,6 @@ pub fn save_elf_as_image(
220219
Ok(())
221220
}
222221

223-
#[allow(clippy::too_many_arguments)]
224222
pub fn flash_elf_image(
225223
flasher: &mut Flasher,
226224
elf_data: &[u8],

espflash/src/flasher.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,6 @@ impl Flasher {
443443
}
444444

445445
/// Load an elf image to flash and execute it
446-
#[allow(clippy::too_many_arguments)]
447446
pub fn load_elf_to_flash_with_format(
448447
&mut self,
449448
elf_data: &[u8],

0 commit comments

Comments
 (0)