From 6389141015dcee12b26b49ab0f4f4e97ca6acd15 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Tue, 27 Dec 2022 15:56:19 +0100 Subject: [PATCH] Fix: Use $crate instead of crate in macro Signed-off-by: Matthias Beyer --- src/errors.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/errors.rs b/src/errors.rs index eb547ba..9b7e7e5 100644 --- a/src/errors.rs +++ b/src/errors.rs @@ -173,7 +173,7 @@ from! { macro_rules! format_err { ( $( $arg:tt )* ) => { { - crate::Error::Other(format!($($arg)*)) + $crate::Error::Other(format!($($arg)*)) } } }