From 3c85d5189b8a5bfda7a547894c6ef6f8f8d3a142 Mon Sep 17 00:00:00 2001 From: Christoph Otter Date: Mon, 17 Feb 2025 18:12:46 +0100 Subject: [PATCH] Fix documentation --- src/bint/radix.rs | 4 ---- src/buint/radix.rs | 8 -------- 2 files changed, 12 deletions(-) diff --git a/src/bint/radix.rs b/src/bint/radix.rs index 3d5c491..0e7a26a 100644 --- a/src/bint/radix.rs +++ b/src/bint/radix.rs @@ -151,10 +151,6 @@ macro_rules! radix { /// Returns the integer's underlying representation as an unsigned integer in the given base in little-endian digit order. /// - /// # Panics - /// - /// This function panics if `radix` is not in the range from 2 to 256 inclusive. - /// /// For examples, see the #[doc = concat!("[`to_radix_le`](crate::", stringify!($BUint), "::to_radix_le) method documentation for [`", stringify!($BUint), "`](crate::", stringify!($BUint), ").")] #[inline] diff --git a/src/buint/radix.rs b/src/buint/radix.rs index 797d1b4..e835cba 100644 --- a/src/buint/radix.rs +++ b/src/buint/radix.rs @@ -433,10 +433,6 @@ macro_rules! radix { /// Returns the integer as a string in the given radix. /// - /// # Panics - /// - /// This function panics if `radix` is not in the range from 2 to 36 inclusive. - /// /// # Examples /// /// ``` @@ -462,10 +458,6 @@ macro_rules! radix { /// Returns the integer in the given base in big-endian digit order. /// - /// # Panics - /// - /// This function panics if `radix` is not in the range from 2 to 256 inclusive. - /// /// ``` /// use bnum::types::U512; ///