units: Use singular in rustdoc
Satoshis per virtual byte is grammatically better than satoshis per virtual bytes - I think.
This commit is contained in:
parent
9b88d87020
commit
c1a760bf60
|
@ -62,7 +62,7 @@ impl FeeRate {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Constructs a new [`FeeRate`] from satoshis per virtual bytes,
|
/// Constructs a new [`FeeRate`] from satoshis per virtual byte,
|
||||||
/// returning `None` if overflow occurred.
|
/// returning `None` if overflow occurred.
|
||||||
pub const fn from_sat_per_vb(sat_vb: u64) -> Option<Self> {
|
pub const fn from_sat_per_vb(sat_vb: u64) -> Option<Self> {
|
||||||
// No `map()` in const context.
|
// No `map()` in const context.
|
||||||
|
|
Loading…
Reference in New Issue