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