We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
impl From<LayoutError> for TryReserveError
1 parent 8649737 commit a151982Copy full SHA for a151982
library/alloc/src/collections/mod.rs
@@ -83,6 +83,7 @@ pub enum TryReserveError {
83
84
#[unstable(feature = "try_reserve", reason = "new API", issue = "48043")]
85
impl From<LayoutError> for TryReserveError {
86
+ /// Always evaluates to [`TryReserveError::CapacityOverflow`].
87
#[inline]
88
fn from(_: LayoutError) -> Self {
89
TryReserveError::CapacityOverflow
0 commit comments