From d5f8a02b9ba0f57e95375b8241826467b6b04b04 Mon Sep 17 00:00:00 2001 From: leopardracer <136604165+leopardracer@users.noreply.github.com> Date: Sat, 26 Apr 2025 12:47:19 +0300 Subject: [PATCH] Update result.rs --- units/src/result.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/units/src/result.rs b/units/src/result.rs index 3d1ee003d..a14a82835 100644 --- a/units/src/result.rs +++ b/units/src/result.rs @@ -12,7 +12,7 @@ use crate::{Amount, FeeRate, SignedAmount, Weight}; /// Result of a mathematical operation on two numeric types. /// /// In order to prevent overflow we provide a custom result type that is similar to the normal -/// [`core::result::Result`] but implements mathematical operatons (e.g. [`core::ops::Add`]) so that +/// [`core::result::Result`] but implements mathematical operations (e.g. [`core::ops::Add`]) so that /// math operations can be chained ergonomically. This is very similar to how `NaN` works. /// /// `NumOpResult` is a monadic type that contains `Valid` and `Error` (similar to `Ok` and `Err`).