Fix typos in rustdoc
This commit is contained in:
parent
f3412325ea
commit
f00e93bdcd
|
@ -83,7 +83,7 @@ impl FeeRate {
|
||||||
/// Checked weight multiplication.
|
/// Checked weight multiplication.
|
||||||
///
|
///
|
||||||
/// Computes `self * rhs` where rhs is of type Weight. `None` is returned if an overflow
|
/// Computes `self * rhs` where rhs is of type Weight. `None` is returned if an overflow
|
||||||
/// occured.
|
/// occurred.
|
||||||
pub fn checked_mul_by_weight(self, rhs: Weight) -> Option<Amount> {
|
pub fn checked_mul_by_weight(self, rhs: Weight) -> Option<Amount> {
|
||||||
self.0.checked_mul(rhs.to_wu()).map(Amount::from_sat)
|
self.0.checked_mul(rhs.to_wu()).map(Amount::from_sat)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue