Skip to content

Update Cargo Dependencies #435

Update Cargo Dependencies

Update Cargo Dependencies #435

GitHub Actions / clippy failed Jan 3, 2024 in 1s

clippy

1 error

Details

Results

Message level Amount
Internal compiler error 0
Error 1
Warning 0
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 failure on line 139 in src/aws.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

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

error: accessing first element with `selected_items.get(0)`
   --> src/aws.rs:138:20
    |
138 |           let item = selected_items
    |  ____________________^
139 | |             .get(0)
    | |___________________^ help: try: `selected_items.first()`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
    = note: `-D clippy::get-first` implied by `-D warnings`
    = help: to override `-D warnings` add `#[allow(clippy::get_first)]`