Skip to content

Abhi/dylib speedup tests #1025

Abhi/dylib speedup tests

Abhi/dylib speedup tests #1025

This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / clippy succeeded Jan 3, 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 88 in plane/src/drone/docker/commands.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

accessing first element with `bindings.get(0)`

warning: accessing first element with `bindings.get(0)`
  --> plane/src/drone/docker/commands.rs:88:30
   |
88 |         .and_then(|bindings| bindings.get(0).cloned())
   |                              ^^^^^^^^^^^^^^^ help: try: `bindings.first()`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
   = note: `#[warn(clippy::get_first)]` on by default