From dba61c9efecc9c8ce9dd04d4def957a3cf49ad27 Mon Sep 17 00:00:00 2001 From: "Tobin C. Harding" Date: Mon, 7 Apr 2025 11:14:10 +1000 Subject: [PATCH] units: Fix internal docs The `impl_op_for_references` macro implements an `ops` trait, nothing to do with opcodes. --- units/src/internal_macros.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/units/src/internal_macros.rs b/units/src/internal_macros.rs index c5f0ac6fc..ee6fc33d6 100644 --- a/units/src/internal_macros.rs +++ b/units/src/internal_macros.rs @@ -4,7 +4,7 @@ //! //! Macros meant to be used inside the `bitcoin-units` library. -/// Implements an opcode for various reference combinations. +/// Implements a mathematical operation for various reference combinations. /// /// Given `$ty`, assumes the `$op_trait<$other_ty>` trait is implemented on it, /// and implements the same trait with the full matrix of `&$ty` and `&$other_ty`: