docs(std): add missing closing code block fences in doc comments
This commit is contained in:
parent
5a26848a5a
commit
402c045f7a
2 changed files with 2 additions and 0 deletions
|
|
@ -58,6 +58,7 @@ pub trait SimdInt: Copy + Sealed {
|
|||
/// let sat = x.saturating_sub(max);
|
||||
/// assert_eq!(unsat, Simd::from_array([1, MAX, MIN, 0]));
|
||||
/// assert_eq!(sat, Simd::from_array([MIN, MIN, MIN, 0]));
|
||||
/// ```
|
||||
fn saturating_sub(self, second: Self) -> Self;
|
||||
|
||||
/// Lanewise absolute value, implemented in Rust.
|
||||
|
|
|
|||
|
|
@ -55,6 +55,7 @@ pub trait SimdUint: Copy + Sealed {
|
|||
/// let sat = x.saturating_sub(max);
|
||||
/// assert_eq!(unsat, Simd::from_array([3, 2, 1, 0]));
|
||||
/// assert_eq!(sat, Simd::splat(0));
|
||||
/// ```
|
||||
fn saturating_sub(self, second: Self) -> Self;
|
||||
|
||||
/// Lanewise absolute difference.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue