int_macros was only using to_xe_bytes_doc and not from_xe_bytes_doc

This commit is contained in:
Antoine PLASKOWSKI 2022-07-19 08:32:08 +02:00
parent f893495e3d
commit 94f633b002

View File

@ -2611,7 +2611,7 @@ macro_rules! int_impl {
/// Create an integer value from its representation as a byte array in
/// big endian.
///
#[doc = $to_xe_bytes_doc]
#[doc = $from_xe_bytes_doc]
///
/// # Examples
///
@ -2640,7 +2640,7 @@ macro_rules! int_impl {
/// Create an integer value from its representation as a byte array in
/// little endian.
///
#[doc = $to_xe_bytes_doc]
#[doc = $from_xe_bytes_doc]
///
/// # Examples
///
@ -2676,7 +2676,7 @@ macro_rules! int_impl {
/// [`from_be_bytes`]: Self::from_be_bytes
/// [`from_le_bytes`]: Self::from_le_bytes
///
#[doc = $to_xe_bytes_doc]
#[doc = $from_xe_bytes_doc]
///
/// # Examples
///