Skip to content

add telephone numers to text parsing #26

add telephone numers to text parsing

add telephone numers to text parsing #26

This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / clippy succeeded Nov 2, 2023 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.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 23 in src/parser/parse_from_text/phone_numbers.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

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

warning: use of `char::is_digit` with literal radix of 10
  --> src/parser/parse_from_text/phone_numbers.rs:23:5
   |
23 |     input.is_digit(10)
   |     ^^^^^^^^^^^^^^^^^^ help: try: `input.is_ascii_digit()`
   |
   = 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 23 in src/parser/parse_from_text/phone_numbers.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

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

warning: use of `char::is_digit` with literal radix of 10
  --> src/parser/parse_from_text/phone_numbers.rs:23:5
   |
23 |     input.is_digit(10)
   |     ^^^^^^^^^^^^^^^^^^ help: try: `input.is_ascii_digit()`
   |
   = 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 23 in src/parser/parse_from_text/phone_numbers.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

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

warning: use of `char::is_digit` with literal radix of 10
  --> src/parser/parse_from_text/phone_numbers.rs:23:5
   |
23 |     input.is_digit(10)
   |     ^^^^^^^^^^^^^^^^^^ help: try: `input.is_ascii_digit()`
   |
   = 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