Skip to content

Fixing clippy issues #431

Fixing clippy issues

Fixing clippy issues #431

GitHub Actions / clippy succeeded Feb 1, 2024 in 0s

clippy

1 warning

Details

Results

Message level Amount
Internal compiler error 0
Error 0
Warning 1
Note 0
Help 0

Versions

  • rustc 1.75.0 (82e1608df 2023-12-21)
  • cargo 1.75.0 (1d8b05cdd 2023-11-20)
  • clippy 0.1.75 (82e1608 2023-12-21)

Annotations

Check warning on line 101 in src/net/mod.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this function has too many arguments (8/7)

warning: this function has too many arguments (8/7)
   --> src/net/mod.rs:92:5
    |
92  | /     pub fn new(
93  | |         stack: NetworkStack,
94  | |         phy: EthernetPhy,
95  | |         clock: SystemTimer,
...   |
100 | |         metadata: &'static ApplicationMetadata,
101 | |     ) -> Self {
    | |_____________^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
    = note: `#[warn(clippy::too_many_arguments)]` on by default