Skip to content

update version to 0.0.2 #18

update version to 0.0.2

update version to 0.0.2 #18

GitHub Actions / clippy succeeded Sep 10, 2024 in 0s

clippy

3 warnings

Details

Results

Message level Amount
Internal compiler error 0
Error 0
Warning 3
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 warning on line 8 in src/util.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the loop variable `i` is only used to index `b`

warning: the loop variable `i` is only used to index `b`
 --> src/util.rs:8:14
  |
8 |     for i in 0..n {
  |              ^^^^
  |
  = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_range_loop
  = note: `#[warn(clippy::needless_range_loop)]` on by default
help: consider using an iterator
  |
8 |     for <item> in b.iter_mut().take(n) {
  |         ~~~~~~    ~~~~~~~~~~~~~~~~~~~~

Check warning on line 5 in src/util.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

function `rand_str` is never used

warning: function `rand_str` is never used
 --> src/util.rs:5:8
  |
5 | pub fn rand_str(n: usize) -> String {
  |        ^^^^^^^^

Check warning on line 3 in src/util.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

constant `LETTERS` is never used

warning: constant `LETTERS` is never used
 --> src/util.rs:3:7
  |
3 | const LETTERS: &[u8] = b"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
  |       ^^^^^^^
  |
  = note: `#[warn(dead_code)]` on by default