Inline from of TryReserveErrorKind
This commit is contained in:
parent
6b20506d17
commit
215712283f
1 changed files with 1 additions and 0 deletions
|
@ -111,6 +111,7 @@ pub enum TryReserveErrorKind {
|
||||||
issue = "48043"
|
issue = "48043"
|
||||||
)]
|
)]
|
||||||
impl From<TryReserveErrorKind> for TryReserveError {
|
impl From<TryReserveErrorKind> for TryReserveError {
|
||||||
|
#[inline]
|
||||||
fn from(kind: TryReserveErrorKind) -> Self {
|
fn from(kind: TryReserveErrorKind) -> Self {
|
||||||
Self { kind }
|
Self { kind }
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue