docs(std): add missing closing code block fences in doc comments

This commit is contained in:
AudaciousAxiom 2025-09-02 21:34:04 +02:00
parent 5a26848a5a
commit 402c045f7a
2 changed files with 2 additions and 0 deletions

View file

@ -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.

View file

@ -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.