Remove a couple of #[doc(hidden)] pub fn and their #[feature] gates

This commit is contained in:
Tobias Bucher
2023-01-10 15:59:47 +01:00
parent e7acd078f4
commit 77c85e9cba
11 changed files with 54 additions and 138 deletions

View File

@@ -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 {}