Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

Merge branch 'master' into add-some-redis-caching #503

Merge branch 'master' into add-some-redis-caching

Merge branch 'master' into add-some-redis-caching #503

This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / clippy succeeded Oct 12, 2023 in 1s

clippy

2 warnings

Details

Results

Message level Amount
Internal compiler error 0
Error 0
Warning 2
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 warning on line 958 in src/routes/v2/teams.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

useless conversion to the same type: `database::models::ids::UserId`

warning: useless conversion to the same type: `database::models::ids::UserId`
   --> src/routes/v2/teams.rs:958:37
    |
958 |         User::clear_project_cache(&[delete_member.user_id.into()], &redis).await?;
    |                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `delete_member.user_id`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
    = note: `#[warn(clippy::useless_conversion)]` on by default

Check warning on line 383 in src/database/models/user_item.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this `.into_iter()` call is equivalent to `.iter()` and will not consume the `slice`

warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `slice`
   --> src/database/models/user_item.rs:383:22
    |
383 |                     .into_iter()
    |                      ^^^^^^^^^ help: call directly: `iter`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref
    = note: `#[warn(clippy::into_iter_on_ref)]` on by default