Skip to content

Bump actions/download-artifact from 3 to 4.1.7 in /.github/workflows #76

Bump actions/download-artifact from 3 to 4.1.7 in /.github/workflows

Bump actions/download-artifact from 3 to 4.1.7 in /.github/workflows #76

GitHub Actions / clippy failed Sep 3, 2024 in 0s

clippy

1 error

Details

Results

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

Versions

  • rustc 1.80.1 (3f5fd8dd4 2024-08-06)
  • cargo 1.80.1 (376290515 2024-07-16)
  • clippy 0.1.80 (3f5fd8d 2024-08-06)

Annotations

Check failure on line 28 in src/query_builder/update.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

direct implementation of `ToString`

error: direct implementation of `ToString`
  --> src/query_builder/update.rs:20:1
   |
20 | / impl ToString for UpdateAssignment {
21 | |     fn to_string(&self) -> String {
22 | |         match self {
23 | |             UpdateAssignment::Simple(name) => format!("{name} = ?"),
...  |
27 | |     }
28 | | }
   | |_^
   |
   = help: prefer implementing `Display` instead
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_trait_impl
   = note: `-D clippy::to-string-trait-impl` implied by `-D warnings`
   = help: to override `-D warnings` add `#[allow(clippy::to_string_trait_impl)]`