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