Skip to content

Add command to store and display previous search history in the datab… #17

Add command to store and display previous search history in the datab…

Add command to store and display previous search history in the datab… #17

GitHub Actions / Clippy Output succeeded Mar 6, 2024 in 0s

Clippy Output

1 warning

Details

Results

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

Versions

  • rustc 1.76.0 (07dca489a 2024-02-04)
  • cargo 1.76.0 (c84b36747 2024-01-18)
  • clippy 0.1.76 (07dca48 2024-02-04)

Annotations

Check warning on line 41 in src/main.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy Output

`to_string` applied to a type that implements `Display` in `println!` args

warning: `to_string` applied to a type that implements `Display` in `println!` args
  --> src/main.rs:41:50
   |
41 |         println!("\n\nError Occurred\n{}", _error.to_string());
   |                                                  ^^^^^^^^^^^^ help: remove this
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_in_format_args
   = note: `#[warn(clippy::to_string_in_format_args)]` on by default