try to work around rustdoc bug, and other rustdoc adjustments

This commit is contained in:
Ralf Jung 2026-01-21 08:49:25 +01:00
parent 590c1c9966
commit 0cbe1cc992
5 changed files with 10 additions and 5 deletions

View file

@ -31,7 +31,7 @@ use crate::{fmt, intrinsics, ptr, ub_checks};
issue = "none"
)]
pub unsafe trait ZeroablePrimitive: Sized + Copy + private::Sealed {
#[doc(hidden)]
/// A type like `Self` but with a niche that includes zero.
type NonZeroInner: Sized + Copy;
}