mirror of
https://github.com/salsa-rs/salsa.git
synced 2025-01-27 07:04:35 +00:00
Remove dead code
This commit is contained in:
parent
114d6db8f6
commit
7b39882deb
1 changed files with 0 additions and 13 deletions
|
@ -403,7 +403,6 @@ pub(crate) fn query_group(args: TokenStream, input: TokenStream) -> TokenStream
|
|||
}
|
||||
});
|
||||
|
||||
if query.storage.supports_mut() {}
|
||||
output.extend(quote! {
|
||||
impl #qt {
|
||||
/// Like `in_db`, but gives access to methods for setting the
|
||||
|
@ -702,16 +701,4 @@ impl QueryStorage {
|
|||
QueryStorage::Memoized | QueryStorage::Dependencies => true,
|
||||
}
|
||||
}
|
||||
|
||||
/// Does this type of query support `&mut` operations?
|
||||
fn supports_mut(&self) -> bool {
|
||||
match self {
|
||||
QueryStorage::Input => true,
|
||||
QueryStorage::Interned
|
||||
| QueryStorage::InternedLookup { .. }
|
||||
| QueryStorage::Transparent
|
||||
| QueryStorage::Memoized
|
||||
| QueryStorage::Dependencies => false,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue