mirror of
https://github.com/salsa-rs/salsa.git
synced 2025-08-04 11:00:05 +00:00
remove the need to manually specify the QueryDescriptor
The macro can handle it now.
This commit is contained in:
parent
2e40e9d1e5
commit
5bee46108d
3 changed files with 10 additions and 8 deletions
|
@ -37,8 +37,6 @@ impl CompilerQueryContext for QueryContextImpl {
|
|||
// permit behavior refinement.
|
||||
|
||||
impl salsa::QueryContext for QueryContextImpl {
|
||||
type QueryDescriptor = salsa::dyn_descriptor::DynDescriptor;
|
||||
|
||||
fn salsa_runtime(&self) -> &salsa::runtime::Runtime<QueryContextImpl> {
|
||||
&self.runtime
|
||||
}
|
||||
|
|
|
@ -26,8 +26,6 @@ impl queries::CounterContext for QueryContextImpl {
|
|||
}
|
||||
|
||||
impl salsa::QueryContext for QueryContextImpl {
|
||||
type QueryDescriptor = salsa::dyn_descriptor::DynDescriptor;
|
||||
|
||||
fn salsa_runtime(&self) -> &salsa::runtime::Runtime<QueryContextImpl> {
|
||||
&self.runtime
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue