Skip to content

Commit 2157122

Browse files
committed
Inline from of TryReserveErrorKind
1 parent 6b20506 commit 2157122

File tree

1 file changed

+1
-0
lines changed
  • library/alloc/src/collections

1 file changed

+1
-0
lines changed

library/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)