units: Use singular in rustdoc

Satoshis per virtual byte is grammatically better than satoshis per
virtual bytes - I think.
This commit is contained in:
Tobin C. Harding 2025-06-10 09:30:56 +10:00
parent 9b88d87020
commit c1a760bf60
No known key found for this signature in database
GPG Key ID: 40BF9E4C269D6607
1 changed files with 1 additions and 1 deletions

View File

@ -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.
pub const fn from_sat_per_vb(sat_vb: u64) -> Option<Self> {
// No `map()` in const context.