Skip to content

build

build #434

GitHub Actions / prod clippy succeeded Nov 30, 2024 in 0s

prod clippy

1 warning

Details

Results

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

Versions

  • rustc 1.83.0 (90b35a623 2024-11-26)
  • cargo 1.83.0 (5ffbef321 2024-10-29)
  • clippy 0.1.83 (90b35a6 2024-11-26)

Annotations

Check warning on line 401 in src/client/discord.rs

See this annotation in the file changed.

@github-actions github-actions / prod clippy

the following explicit lifetimes could be elided: 'a

warning: the following explicit lifetimes could be elided: 'a
   --> src/client/discord.rs:401:6
    |
401 | impl<'a> User for DiscordAuthor<'a> {
    |      ^^                         ^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
    = note: `#[warn(clippy::needless_lifetimes)]` on by default
help: elide the lifetimes
    |
401 - impl<'a> User for DiscordAuthor<'a> {
401 + impl User for DiscordAuthor<'_> {
    |