From 589dd025df938da3efac277511836cda5c53aa06 Mon Sep 17 00:00:00 2001 From: calciumbe <192480234+calciumbe@users.noreply.github.com> Date: Mon, 23 Dec 2024 20:35:14 +0800 Subject: [PATCH] units: fix typo --- units/src/fee_rate.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/units/src/fee_rate.rs b/units/src/fee_rate.rs index 3429aa44a..c85b91db9 100644 --- a/units/src/fee_rate.rs +++ b/units/src/fee_rate.rs @@ -121,7 +121,7 @@ impl FeeRate { /// Checked addition. /// - /// Computes `self + rhs` returning [`None`] if overflow occured. + /// Computes `self + rhs` returning [`None`] if overflow occurred. #[must_use] pub const fn checked_add(self, rhs: u64) -> Option { // No `map()` in const context. @@ -133,7 +133,7 @@ impl FeeRate { /// Checked subtraction. /// - /// Computes `self - rhs` returning [`None`] if overflow occured. + /// Computes `self - rhs` returning [`None`] if overflow occurred. #[must_use] pub const fn checked_sub(self, rhs: u64) -> Option { // No `map()` in const context.