Rollup merge of #84856 - kornelski:enomem, r=JohnTitor

Correct stability of ErrorKind::OutOfMemory

Fix for #84744
This commit is contained in:
Guillaume Gomez 2021-05-03 15:08:10 +02:00 committed by GitHub
commit 2604440d8a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -189,7 +189,7 @@ pub enum ErrorKind {
/// An operation could not be completed, because it failed
/// to allocate enough memory.
#[stable(feature = "out_of_memory_error", since = "1.53.0")]
#[stable(feature = "out_of_memory_error", since = "1.54.0")]
OutOfMemory,
}