Skip to content

Commit

Permalink
Really fix to_digit_is_some documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Wright committed Nov 10, 2019
1 parent 9aefae4 commit 89b966c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clippy_lints/src/to_digit_is_some.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ declare_clippy_lint! {
/// ```rust
/// # let c = 'c';
/// # let radix = 10;
/// let is_digit = c.to_digit(10).is_some();
/// let is_digit = c.to_digit(radix).is_some();
/// ```
/// can be written as:
/// ```
Expand Down

0 comments on commit 89b966c

Please sign in to comment.