diff options
| author | Antoine PLASKOWSKI <plaskowski.stanislas@gmail.com> | 2022-07-19 08:32:08 +0200 |
|---|---|---|
| committer | Antoine PLASKOWSKI <plaskowski.stanislas@gmail.com> | 2022-07-19 08:32:08 +0200 |
| commit | 94f633b0023c02837cc53fb4be3a8ae4f2e900b7 (patch) | |
| tree | ae3a2a95aed4cd82ef5b39a263c38a0fbee1cbe2 | |
| parent | f893495e3da91dc319d37861b803eed9d6c8c7c7 (diff) | |
| download | rust-94f633b0023c02837cc53fb4be3a8ae4f2e900b7.tar.gz rust-94f633b0023c02837cc53fb4be3a8ae4f2e900b7.zip | |
int_macros was only using to_xe_bytes_doc and not from_xe_bytes_doc
| -rw-r--r-- | library/core/src/num/int_macros.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/library/core/src/num/int_macros.rs b/library/core/src/num/int_macros.rs index 1f435784be1..d6de51c3966 100644 --- a/library/core/src/num/int_macros.rs +++ b/library/core/src/num/int_macros.rs @@ -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 /// |
