Skip to content

Commit

Permalink
Fix typos in rustdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
tcharding committed Aug 1, 2023
1 parent f341232 commit f00e93b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bitcoin/src/blockdata/fee_rate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ impl FeeRate {

/// Checked weight multiplication.
///
/// Computes `self * rhs` where rhs is of type Weight. `None` is returned if an overflow
/// occured.
/// Computes `self * rhs` where rhs is of type Weight. `None` is returned if an overflow
/// occurred.
pub fn checked_mul_by_weight(self, rhs: Weight) -> Option<Amount> {
self.0.checked_mul(rhs.to_wu()).map(Amount::from_sat)
}
Expand Down

0 comments on commit f00e93b

Please sign in to comment.