From 450c0e2760d2e6ea790e38ad50a4ffa53d8a004f Mon Sep 17 00:00:00 2001 From: nwin Date: Thu, 26 Jan 2017 21:12:27 +0100 Subject: [PATCH] Correct typos. --- traits/src/ops/wrapping.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/traits/src/ops/wrapping.rs b/traits/src/ops/wrapping.rs index a1bcb0d..699405d 100644 --- a/traits/src/ops/wrapping.rs +++ b/traits/src/ops/wrapping.rs @@ -19,7 +19,7 @@ macro_rules! wrapping_impl { } } -/// Performs addition that wrapps around on overflow. +/// Performs addition that wraps around on overflow. pub trait WrappingAdd: Sized + Add { /// Wrapping (modular) addition. Computes `self + other`, wrapping around at the boundary of /// the type. @@ -38,7 +38,7 @@ wrapping_impl!(WrappingAdd, wrapping_add, i32); wrapping_impl!(WrappingAdd, wrapping_add, i64); wrapping_impl!(WrappingAdd, wrapping_add, isize); -/// Performs subtraction that wrapps around on overflow. +/// Performs subtraction that wraps around on overflow. pub trait WrappingSub: Sized + Sub { /// Wrapping (modular) subtraction. Computes `self - other`, wrapping around at the boundary /// of the type. @@ -57,7 +57,7 @@ wrapping_impl!(WrappingSub, wrapping_sub, i32); wrapping_impl!(WrappingSub, wrapping_sub, i64); wrapping_impl!(WrappingSub, wrapping_sub, isize); -/// Performs multiplication that wrapps around on overflow. +/// Performs multiplication that wraps around on overflow. pub trait WrappingMul: Sized + Mul { /// Wrapping (modular) multiplication. Computes `self * other`, wrapping around at the boundary /// of the type.