mirror of
https://github.com/salsa-rs/salsa.git
synced 2025-01-30 16:24:46 +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() {
|
match iter.next() {
|
||||||
Some(FnArg::SelfRef(sr)) if sr.mutability.is_none() => (),
|
Some(FnArg::SelfRef(sr)) if sr.mutability.is_none() => (),
|
||||||
_ => panic!(
|
_ => panic!(
|
||||||
"first argument of query `{}` must be `&self` or `&mut self`",
|
"first argument of query `{}` must be `&self`",
|
||||||
method.sig.ident
|
method.sig.ident
|
||||||
),
|
),
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue