Skip to content

Commit 94f633b

Browse files
committed
int_macros was only using to_xe_bytes_doc and not from_xe_bytes_doc
1 parent f893495 commit 94f633b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

library/core/src/num/int_macros.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -2611,7 +2611,7 @@ macro_rules! int_impl {
26112611
/// Create an integer value from its representation as a byte array in
26122612
/// big endian.
26132613
///
2614-
#[doc = $to_xe_bytes_doc]
2614+
#[doc = $from_xe_bytes_doc]
26152615
///
26162616
/// # Examples
26172617
///
@@ -2640,7 +2640,7 @@ macro_rules! int_impl {
26402640
/// Create an integer value from its representation as a byte array in
26412641
/// little endian.
26422642
///
2643-
#[doc = $to_xe_bytes_doc]
2643+
#[doc = $from_xe_bytes_doc]
26442644
///
26452645
/// # Examples
26462646
///
@@ -2676,7 +2676,7 @@ macro_rules! int_impl {
26762676
/// [`from_be_bytes`]: Self::from_be_bytes
26772677
/// [`from_le_bytes`]: Self::from_le_bytes
26782678
///
2679-
#[doc = $to_xe_bytes_doc]
2679+
#[doc = $from_xe_bytes_doc]
26802680
///
26812681
/// # Examples
26822682
///

0 commit comments

Comments
 (0)