Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync updates #139

Merged
merged 8 commits into from
Jan 16, 2024

Use `impl Trait` syntax for args in the `Storage` trait instead of ge…

ebafe03
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

Sync updates #139

Use `impl Trait` syntax for args in the `Storage` trait instead of ge…
ebafe03
Select commit
Loading
Failed to load commit list.
GitHub Actions / clippy succeeded Jan 16, 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 190 in casper-server/src/lua/yaml.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

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

warning: accessing first element with `keys.get(0)`
   --> casper-server/src/lua/yaml.rs:190:28
    |
190 |     let next_value = match keys.get(0) {
    |                            ^^^^^^^^^^^ help: try: `keys.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