diff options
author | HampusM <hampus@hampusmat.com> | 2023-08-05 20:47:53 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2023-08-05 20:47:53 +0200 |
commit | ddc666c55eec968f9a99408f3e3ad0f92d932179 (patch) | |
tree | 2bb6730ac532151d364f3b8664a184a6917f8b65 /macros | |
parent | a1ec90ba16da8fd5b5209fa27604c4d4c62d8243 (diff) |
fix: change terminology in injectable macro async flag error
Diffstat (limited to 'macros')
-rw-r--r-- | macros/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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 ); |