Remove a couple of #[doc(hidden)] pub fn and their #[feature] gates
This commit is contained in:
@@ -486,25 +486,9 @@ impl Error for crate::char::CharTryFromError {
|
||||
}
|
||||
}
|
||||
|
||||
#[stable(feature = "char_from_str", since = "1.20.0")]
|
||||
impl Error for crate::char::ParseCharError {
|
||||
#[allow(deprecated)]
|
||||
fn description(&self) -> &str {
|
||||
self.__description()
|
||||
}
|
||||
}
|
||||
|
||||
#[stable(feature = "duration_checked_float", since = "1.66.0")]
|
||||
impl Error for crate::time::TryFromFloatSecsError {}
|
||||
|
||||
#[stable(feature = "frombyteswithnulerror_impls", since = "1.17.0")]
|
||||
impl Error for crate::ffi::FromBytesWithNulError {
|
||||
#[allow(deprecated)]
|
||||
fn description(&self) -> &str {
|
||||
self.__description()
|
||||
}
|
||||
}
|
||||
|
||||
#[stable(feature = "cstr_from_bytes_until_nul", since = "CURRENT_RUSTC_VERSION")]
|
||||
impl Error for crate::ffi::FromBytesUntilNulError {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user