mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-29 03:37:26 +03:00
Inline from of TryReserveErrorKind
This commit is contained in:
@@ -111,6 +111,7 @@ pub enum TryReserveErrorKind {
|
||||
issue = "48043"
|
||||
)]
|
||||
impl From<TryReserveErrorKind> for TryReserveError {
|
||||
#[inline]
|
||||
fn from(kind: TryReserveErrorKind) -> Self {
|
||||
Self { kind }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user