mirror of
https://github.com/salsa-rs/salsa.git
synced 2025-01-27 15:07:03 +00:00
Remove mention of unsupported '&mut self' for in a query group panic
This commit is contained in:
parent
e7223f480a
commit
9913b0300e
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ pub(crate) fn query_group(args: TokenStream, input: TokenStream) -> TokenStream
|
|||
match iter.next() {
|
||||
Some(FnArg::SelfRef(sr)) if sr.mutability.is_none() => (),
|
||||
_ => panic!(
|
||||
"first argument of query `{}` must be `&self` or `&mut self`",
|
||||
"first argument of query `{}` must be `&self`",
|
||||
method.sig.ident
|
||||
),
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue