Fix: Use $crate instead of crate in macro

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
Matthias Beyer 2022-12-27 15:56:19 +01:00
parent f280c4b8fa
commit 6389141015
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -173,7 +173,7 @@ from! {
macro_rules! format_err {
( $( $arg:tt )* ) => {
{
crate::Error::Other(format!($($arg)*))
$crate::Error::Other(format!($($arg)*))
}
}
}