Rename AllocErr to AllocError

This commit is contained in:
Jacob Hughes
2020-09-24 18:10:56 -04:00
parent d62d3f7fa9
commit 5829560a68
8 changed files with 43 additions and 43 deletions

View File

@@ -19,7 +19,7 @@ mod tests;
use core::array;
use core::convert::Infallible;
use crate::alloc::{AllocErr, LayoutErr};
use crate::alloc::{AllocError, LayoutErr};
use crate::any::TypeId;
use crate::backtrace::Backtrace;
use crate::borrow::Cow;
@@ -387,7 +387,7 @@ impl Error for ! {}
reason = "the precise API and guarantees it provides may be tweaked.",
issue = "32838"
)]
impl Error for AllocErr {}
impl Error for AllocError {}
#[stable(feature = "alloc_layout", since = "1.28.0")]
impl Error for LayoutErr {}