Skip to content

update changelog

update changelog #6

This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / clippy succeeded Oct 9, 2023 in 1s

clippy

12 warnings

Details

Results

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

Versions

  • rustc 1.64.0 (a55dd71d5 2022-09-19)
  • cargo 1.64.0 (387270bc7 2022-09-16)
  • clippy 0.1.64 (a55dd71 2022-09-19)

Annotations

Check warning on line 191 in src/parser/link_url.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

use of `char::is_digit` with literal radix of 16

warning: use of `char::is_digit` with literal radix of 16
   --> src/parser/link_url.rs:191:5
    |
191 |     c.is_digit(16)
    |     ^^^^^^^^^^^^^^ help: try: `c.is_ascii_hexdigit()`
    |
    = note: `#[warn(clippy::is_digit_ascii_radix)]` on by default
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#is_digit_ascii_radix

Check warning on line 170 in src/parser/link_url.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

you are deriving `PartialEq` and can implement `Eq`

warning: you are deriving `PartialEq` and can implement `Eq`
   --> src/parser/link_url.rs:170:17
    |
170 | #[derive(Debug, PartialEq)]
    |                 ^^^^^^^^^ help: consider deriving `Eq` as well: `PartialEq, Eq`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derive_partial_eq_without_eq

Check warning on line 72 in src/parser/parse_from_text/markdown_elements.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

using long and hard to read `.bytes().count()`

warning: using long and hard to read `.bytes().count()`
  --> src/parser/parse_from_text/markdown_elements.rs:72:25
   |
72 |                 .get(0..content.bytes().count().saturating_sub(offset))
   |                         ^^^^^^^^^^^^^^^^^^^^^^^ help: consider calling `.len()` instead: `content.len()`
   |
   = note: `#[warn(clippy::bytes_count_to_len)]` on by default
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bytes_count_to_len

Check warning on line 11 in src/parser/parse_from_text/base_parsers.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

you are deriving `PartialEq` and can implement `Eq`

warning: you are deriving `PartialEq` and can implement `Eq`
  --> src/parser/parse_from_text/base_parsers.rs:11:17
   |
11 | #[derive(Debug, PartialEq)]
   |                 ^^^^^^^^^ help: consider deriving `Eq` as well: `PartialEq, Eq`
   |
   = note: `#[warn(clippy::derive_partial_eq_without_eq)]` on by default
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derive_partial_eq_without_eq

Check warning on line 191 in src/parser/link_url.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

use of `char::is_digit` with literal radix of 16

warning: use of `char::is_digit` with literal radix of 16
   --> src/parser/link_url.rs:191:5
    |
191 |     c.is_digit(16)
    |     ^^^^^^^^^^^^^^ help: try: `c.is_ascii_hexdigit()`
    |
    = note: `#[warn(clippy::is_digit_ascii_radix)]` on by default
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#is_digit_ascii_radix

Check warning on line 170 in src/parser/link_url.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

you are deriving `PartialEq` and can implement `Eq`

warning: you are deriving `PartialEq` and can implement `Eq`
   --> src/parser/link_url.rs:170:17
    |
170 | #[derive(Debug, PartialEq)]
    |                 ^^^^^^^^^ help: consider deriving `Eq` as well: `PartialEq, Eq`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derive_partial_eq_without_eq

Check warning on line 72 in src/parser/parse_from_text/markdown_elements.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

using long and hard to read `.bytes().count()`

warning: using long and hard to read `.bytes().count()`
  --> src/parser/parse_from_text/markdown_elements.rs:72:25
   |
72 |                 .get(0..content.bytes().count().saturating_sub(offset))
   |                         ^^^^^^^^^^^^^^^^^^^^^^^ help: consider calling `.len()` instead: `content.len()`
   |
   = note: `#[warn(clippy::bytes_count_to_len)]` on by default
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bytes_count_to_len

Check warning on line 11 in src/parser/parse_from_text/base_parsers.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

you are deriving `PartialEq` and can implement `Eq`

warning: you are deriving `PartialEq` and can implement `Eq`
  --> src/parser/parse_from_text/base_parsers.rs:11:17
   |
11 | #[derive(Debug, PartialEq)]
   |                 ^^^^^^^^^ help: consider deriving `Eq` as well: `PartialEq, Eq`
   |
   = note: `#[warn(clippy::derive_partial_eq_without_eq)]` on by default
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derive_partial_eq_without_eq

Check warning on line 191 in src/parser/link_url.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

use of `char::is_digit` with literal radix of 16

warning: use of `char::is_digit` with literal radix of 16
   --> src/parser/link_url.rs:191:5
    |
191 |     c.is_digit(16)
    |     ^^^^^^^^^^^^^^ help: try: `c.is_ascii_hexdigit()`
    |
    = note: `#[warn(clippy::is_digit_ascii_radix)]` on by default
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#is_digit_ascii_radix

Check warning on line 170 in src/parser/link_url.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

you are deriving `PartialEq` and can implement `Eq`

warning: you are deriving `PartialEq` and can implement `Eq`
   --> src/parser/link_url.rs:170:17
    |
170 | #[derive(Debug, PartialEq)]
    |                 ^^^^^^^^^ help: consider deriving `Eq` as well: `PartialEq, Eq`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derive_partial_eq_without_eq

Check warning on line 72 in src/parser/parse_from_text/markdown_elements.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

using long and hard to read `.bytes().count()`

warning: using long and hard to read `.bytes().count()`
  --> src/parser/parse_from_text/markdown_elements.rs:72:25
   |
72 |                 .get(0..content.bytes().count().saturating_sub(offset))
   |                         ^^^^^^^^^^^^^^^^^^^^^^^ help: consider calling `.len()` instead: `content.len()`
   |
   = note: `#[warn(clippy::bytes_count_to_len)]` on by default
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bytes_count_to_len

Check warning on line 11 in src/parser/parse_from_text/base_parsers.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

you are deriving `PartialEq` and can implement `Eq`

warning: you are deriving `PartialEq` and can implement `Eq`
  --> src/parser/parse_from_text/base_parsers.rs:11:17
   |
11 | #[derive(Debug, PartialEq)]
   |                 ^^^^^^^^^ help: consider deriving `Eq` as well: `PartialEq, Eq`
   |
   = note: `#[warn(clippy::derive_partial_eq_without_eq)]` on by default
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derive_partial_eq_without_eq