Skip to content

Commit 2cb96a4

Browse files
committed
auto merge of #9900 : hatahet/rust/master, r=alexcrichton
Closes #9870
2 parents 386fa1d + 256913e commit 2cb96a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/num/num.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -861,7 +861,7 @@ impl_from_primitive!(f64, n.to_f64())
861861
/// # Example
862862
///
863863
/// ```
864-
/// let twenty: f32 = num::cast(0x14);
864+
/// let twenty: f32 = num::cast(0x14).unwrap();
865865
/// assert_eq!(twenty, 20f32);
866866
/// ```
867867
///

0 commit comments

Comments
 (0)