about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-10-30 08:57:45 -0700
committerAlex Crichton <alex@alexcrichton.com>2014-10-30 09:29:24 -0700
commitdfefe9a1526e82bdc9469c400a9d00c3fecbedc2 (patch)
tree9d258241b32dc3bf01c3454900a9b829b05fe16b /src
parent09669772dbf8c0c9a221130c31c7f47596229e9c (diff)
parent793a73315214a8932e4b07c08dcfb9dc5526b5a9 (diff)
downloadrust-dfefe9a1526e82bdc9469c400a9d00c3fecbedc2.tar.gz
rust-dfefe9a1526e82bdc9469c400a9d00c3fecbedc2.zip
rollup merge of #18421 : tbu-/pr_checkeddiv1
Diffstat (limited to 'src')
-rw-r--r--src/libcore/num/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/num/mod.rs b/src/libcore/num/mod.rs
index 3d05fd060d2..ee2b202a726 100644
--- a/src/libcore/num/mod.rs
+++ b/src/libcore/num/mod.rs
@@ -1353,7 +1353,7 @@ checked_impl!(CheckedMul, checked_mul, i64, intrinsics::i64_mul_with_overflow)
 /// wrapping around on underflow and overflow.
 pub trait CheckedDiv: Div<Self, Self> {
     /// Divides two numbers, checking for underflow, overflow and division by zero. If any of that
-    /// happens, / `None` is returned.
+    /// happens, `None` is returned.
     ///
     /// # Example
     ///