Change `uBTC` to `µBTC` in rustdocs

Clippy thinks `µBTC` in the docs needs backticks. Allow it without
backticks.
This commit is contained in:
Jamil Lambert, PhD 2025-01-22 13:26:03 +00:00
parent 2ca24f00f2
commit afba28e188
No known key found for this signature in database
GPG Key ID: 54DC29234AB5D2C0
1 changed files with 3 additions and 2 deletions

View File

@ -67,6 +67,7 @@ pub use self::{
/// ```
#[derive(Debug, Clone, Copy, Eq, PartialEq, Hash)]
#[non_exhaustive]
#[allow(clippy::doc_markdown)]
pub enum Denomination {
/// BTC (1 BTC = 100,000,000 satoshi).
Bitcoin,
@ -74,9 +75,9 @@ pub enum Denomination {
CentiBitcoin,
/// mBTC (1 mBTC = 100,000 satoshi).
MilliBitcoin,
/// uBTC (1 uBTC = 100 satoshi).
/// µBTC (1 µBTC = 100 satoshi).
MicroBitcoin,
/// bits (bits = uBTC).
/// bits (bits = µBTC).
Bit,
/// satoshi (1 BTC = 100,000,000 satoshi).
Satoshi,