Really fix to_digit_is_some documentation

This commit is contained in:
Michael Wright 2019-11-10 18:00:04 +02:00
parent 9aefae4226
commit 89b966cdf1

View File

@ -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:
/// ```