Fix possibly ambiguous macro
This commit is contained in:
parent
02af635e7b
commit
ca2ff632ba
@ -74,7 +74,7 @@ macro_rules! unwrap {
|
|||||||
match $crate::fmt::Try::into_result($arg) {
|
match $crate::fmt::Try::into_result($arg) {
|
||||||
::core::result::Result::Ok(t) => t,
|
::core::result::Result::Ok(t) => t,
|
||||||
::core::result::Result::Err(e) => {
|
::core::result::Result::Err(e) => {
|
||||||
panic!($($msg,)*);
|
::core::panic!($($msg,)*);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -74,7 +74,7 @@ macro_rules! unwrap {
|
|||||||
match $crate::fmt::Try::into_result($arg) {
|
match $crate::fmt::Try::into_result($arg) {
|
||||||
::core::result::Result::Ok(t) => t,
|
::core::result::Result::Ok(t) => t,
|
||||||
::core::result::Result::Err(e) => {
|
::core::result::Result::Err(e) => {
|
||||||
panic!($($msg,)*);
|
::core::panic!($($msg,)*);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user