We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 165b520 + a151982 commit a57a2e9Copy full SHA for a57a2e9
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