Skip to content

Updates: required string can lack default_value. Updated undefined ap… #381

Updates: required string can lack default_value. Updated undefined ap…

Updates: required string can lack default_value. Updated undefined ap… #381

GitHub Actions / clippy failed Oct 23, 2023 in 0s

clippy

1 error

Details

Results

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

Versions

  • rustc 1.73.0 (cc66ad468 2023-10-03)
  • cargo 1.73.0 (9c4383fb5 2023-08-26)
  • clippy 0.1.73 (cc66ad4 2023-10-03)

Annotations

Check failure on line 31 in src/commands/edge_app_server.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

redundant redefinition of a binding

error: redundant redefinition of a binding
  --> src/commands/edge_app_server.rs:31:9
   |
31 |     let dir_path = Arc::new(path.to_path_buf());
   |         ^^^^^^^^
...
56 |             let dir_path = dir_path;
   |             ^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = help: remove the redefinition of `dir_path`
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_locals
   = note: `#[deny(clippy::redundant_locals)]` on by default