From 6cfd7cd618e7bb9ad922068a34bada7e44e0493d Mon Sep 17 00:00:00 2001 From: Raphael Taylor-Davies Date: Mon, 20 May 2024 11:29:50 +0100 Subject: [PATCH] Review feedback --- arrow-buffer/src/arith.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arrow-buffer/src/arith.rs b/arrow-buffer/src/arith.rs index 2ad75f3472b4..ca693c3607dc 100644 --- a/arrow-buffer/src/arith.rs +++ b/arrow-buffer/src/arith.rs @@ -15,6 +15,8 @@ // specific language governing permissions and limitations // under the License. +/// Derives `std::ops::$op` for `$ty` calling `$wrapping` or `$checked` variants +/// based on if debug_assertions enabled macro_rules! derive_arith { ($ty:ty, $t:ident, $op:ident, $wrapping:ident, $checked:ident) => { impl std::ops::$t for $ty {