Fix syntax errors in example code
This commit is contained in:
parent
86d348df90
commit
edeb0fcddc
@ -658,11 +658,11 @@
|
|||||||
///
|
///
|
||||||
/// ### Example
|
/// ### Example
|
||||||
/// ```rust,ignore
|
/// ```rust,ignore
|
||||||
/// let _: (0.0_f32 / 0.0) as u64;
|
/// let _ = (0.0_f32 / 0.0) as u64;
|
||||||
/// ```
|
/// ```
|
||||||
/// Use instead:
|
/// Use instead:
|
||||||
/// ```rust,ignore
|
/// ```rust,ignore
|
||||||
/// let _: = 0_u64;
|
/// let _ = 0_u64;
|
||||||
/// ```
|
/// ```
|
||||||
#[clippy::version = "1.66.0"]
|
#[clippy::version = "1.66.0"]
|
||||||
pub CAST_NAN_TO_INT,
|
pub CAST_NAN_TO_INT,
|
||||||
|
Loading…
Reference in New Issue
Block a user