mirror of
https://github.com/openharmony/third_party_rust_rust.git
synced 2026-07-19 19:53:38 -04:00
Rollup merge of #99452 - Stargateur:fix/typo, r=JohnTitor
int_macros was only using to_xe_bytes_doc and not from_xe_bytes_doc typo in doc [here](https://doc.rust-lang.org/std/primitive.isize.html#method.from_ne_bytes) "returns" => "takes" `@rustbot` label +T-rustdoc
This commit is contained in:
@@ -2612,7 +2612,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
|
||||
///
|
||||
@@ -2641,7 +2641,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
|
||||
///
|
||||
@@ -2677,7 +2677,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
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user