Skip to content

reuse github workflows #2

reuse github workflows

reuse github workflows #2

GitHub Actions / clippy succeeded Jul 4, 2024 in 0s

clippy

2 warnings

Details

Results

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

Versions

  • rustc 1.79.0 (129f3b996 2024-06-10)
  • cargo 1.79.0 (ffa9cf99a 2024-06-03)
  • clippy 0.1.79 (129f3b9 2024-06-10)

Annotations

Check warning on line 66 in src/main.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

using `print!()` with a format string that ends in a single newline

warning: using `print!()` with a format string that ends in a single newline
  --> src/main.rs:66:9
   |
66 |         print!("\n");
   |         ^^^^^^^^^^^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#print_with_newline
   = note: `#[warn(clippy::print_with_newline)]` on by default
help: use `println!` instead
   |
66 -         print!("\n");
66 +         println!();
   |

Check warning on line 6 in src/main.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this import is redundant

warning: this import is redundant
 --> src/main.rs:6:1
  |
6 | use cli_clipboard;
  | ^^^^^^^^^^^^^^^^^^ help: remove it entirely
  |
  = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_component_path_imports
  = note: `#[warn(clippy::single_component_path_imports)]` on by default