bump stabilization to 1.51.0

This commit is contained in:
Ashley Mannix 2020-12-21 18:40:34 +10:00 committed by GitHub
parent 573ec314b6
commit bbf5001b94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -506,7 +506,7 @@ impl<T: Error> Error for Box<T> {
}
}
#[stable(feature = "error_by_ref", since = "1.49.0")]
#[stable(feature = "error_by_ref", since = "1.51.0")]
impl<'a, T: Error + ?Sized> Error for &'a T {
#[allow(deprecated, deprecated_in_future)]
fn description(&self) -> &str {