Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix to_radix_be, to_radix_le and to_str_radix documentation #50

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions src/bint/radix.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
8 changes: 0 additions & 8 deletions src/buint/radix.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
///
/// ```
Expand All @@ -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;
///
Expand Down