Skip to content

Commit 98ff927

Browse files
authored
add semicolon
1 parent 1e7bacd commit 98ff927

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/std/src/f64.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -332,8 +332,8 @@ impl f64 {
332332
/// let abs_difference = (x.powf(2.0) - (x * x)).abs();
333333
/// assert!(abs_difference < 1e-10);
334334
///
335-
/// assert_eq!(f64::powf(1.0, f64::NAN), 1.0)
336-
/// assert_eq!(f64::powf(f64::NAN, 0.0), 1.0)
335+
/// assert_eq!(f64::powf(1.0, f64::NAN), 1.0);
336+
/// assert_eq!(f64::powf(f64::NAN, 0.0), 1.0);
337337
/// ```
338338
#[rustc_allow_incoherent_impl]
339339
#[must_use = "method returns a new number and does not mutate the original value"]

0 commit comments

Comments
 (0)