From afba28e188c6c44e0ddd3169843be7bbc06b2f7e Mon Sep 17 00:00:00 2001 From: "Jamil Lambert, PhD" Date: Wed, 22 Jan 2025 13:26:03 +0000 Subject: [PATCH] =?UTF-8?q?Change=20`uBTC`=20to=20`=C2=B5BTC`=20in=20rustd?= =?UTF-8?q?ocs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Clippy thinks `µBTC` in the docs needs backticks. Allow it without backticks. --- units/src/amount/mod.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/units/src/amount/mod.rs b/units/src/amount/mod.rs index 732f1cc10..1980a8c54 100644 --- a/units/src/amount/mod.rs +++ b/units/src/amount/mod.rs @@ -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,