From ddc666c55eec968f9a99408f3e3ad0f92d932179 Mon Sep 17 00:00:00 2001 From: HampusM Date: Sat, 5 Aug 2023 20:47:53 +0200 Subject: fix: change terminology in injectable macro async flag error --- macros/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'macros') diff --git a/macros/src/lib.rs b/macros/src/lib.rs index c228e73..2fc3c21 100644 --- a/macros/src/lib.rs +++ b/macros/src/lib.rs @@ -195,7 +195,7 @@ pub fn injectable(args_stream: TokenStream, input_stream: TokenStream) -> TokenS abort!( is_async_flag.name().span(), - "The 'async' Cargo feature must be enabled to use this flag"; + "The 'async' crate feature must be enabled to use this flag"; suggestion = "In your Cargo.toml: syrette = {{ version = \"{}\", features = [\"async\"] }}", PACKAGE_VERSION ); -- cgit v1.2.3-18-g5258