1
Fork 0

Inline from of TryReserveErrorKind

This commit is contained in:
Kornel 2021-08-07 12:52:24 +01:00
parent 6b20506d17
commit 215712283f

View file

@ -111,6 +111,7 @@ pub enum TryReserveErrorKind {
issue = "48043"
)]
impl From<TryReserveErrorKind> for TryReserveError {
#[inline]
fn from(kind: TryReserveErrorKind) -> Self {
Self { kind }
}