From dbd01a458610d29886c08b7378888069f2c52a91 Mon Sep 17 00:00:00 2001 From: Raphael Taylor-Davies Date: Mon, 26 Sep 2022 21:02:29 +0100 Subject: [PATCH] Fix doc comments --- arrow-buffer/src/bigint.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arrow-buffer/src/bigint.rs b/arrow-buffer/src/bigint.rs index 76d23ee67e7..7304796e324 100644 --- a/arrow-buffer/src/bigint.rs +++ b/arrow-buffer/src/bigint.rs @@ -125,7 +125,7 @@ impl i256 { Some(Self::from_parts(low, high)) } - /// Performs wrapping addition + /// Performs wrapping subtraction #[inline] pub fn wrapping_sub(self, other: Self) -> Self { let (left_low, left_high) = self.as_parts(); @@ -136,7 +136,7 @@ impl i256 { Self::from_parts(low, high) } - /// Performs checked addition + /// Performs checked subtraction #[inline] pub fn checked_sub(self, other: Self) -> Option { let (left_low, left_high) = self.as_parts(); @@ -189,7 +189,7 @@ impl i256 { Self::from_bigint_with_overflow(l % r).0 } - /// Performs checked division + /// Performs checked remainder #[inline] pub fn checked_rem(self, other: Self) -> Option { if other.0 == [0; 32] {