docs: inline core::ffi::c_str types to core::ffi

(cherry picked from commit fc8a541eaa4b6555d948c382b75677b0e17040fa)
This commit is contained in:
Michael Howell 2024-12-26 15:51:45 -07:00 committed by Josh Stone
parent 6cc24819e5
commit 0605512ead

View file

@ -12,10 +12,10 @@
#[doc(inline)] #[doc(inline)]
#[stable(feature = "core_c_str", since = "1.64.0")] #[stable(feature = "core_c_str", since = "1.64.0")]
pub use self::c_str::CStr; pub use self::c_str::CStr;
#[doc(no_inline)] #[doc(inline)]
#[stable(feature = "cstr_from_bytes_until_nul", since = "1.69.0")] #[stable(feature = "cstr_from_bytes_until_nul", since = "1.69.0")]
pub use self::c_str::FromBytesUntilNulError; pub use self::c_str::FromBytesUntilNulError;
#[doc(no_inline)] #[doc(inline)]
#[stable(feature = "core_c_str", since = "1.64.0")] #[stable(feature = "core_c_str", since = "1.64.0")]
pub use self::c_str::FromBytesWithNulError; pub use self::c_str::FromBytesWithNulError;
use crate::fmt; use crate::fmt;