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 {