Skip to content

Commit 1b3a0fa

Browse files
committed
Inline from of TryReserveErrorKind
1 parent f59850f commit 1b3a0fa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

alloc/src/collections/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ pub enum TryReserveErrorKind {
111111
issue = "48043"
112112
)]
113113
impl From<TryReserveErrorKind> for TryReserveError {
114+
#[inline]
114115
fn from(kind: TryReserveErrorKind) -> Self {
115116
Self { kind }
116117
}

0 commit comments

Comments
 (0)