diff --git a/examples/compiler/interner.rs b/examples/compiler/interner.rs index 1ef492ae..3aca0897 100644 --- a/examples/compiler/interner.rs +++ b/examples/compiler/interner.rs @@ -1,7 +1,7 @@ use crate::values::*; #[salsa::query_group(InternerDatabase)] -pub trait Interner: salsa::Database { +pub trait Interner { #[salsa::interned] fn intern_field(&self, field: FieldData) -> Field; diff --git a/examples/hello_world/main.rs b/examples/hello_world/main.rs index 394efabe..a3edfc5d 100644 --- a/examples/hello_world/main.rs +++ b/examples/hello_world/main.rs @@ -22,7 +22,7 @@ use std::sync::Arc; // trait for that query group as a supertrait. // ANCHOR:trait #[salsa::query_group(HelloWorldStorage)] -trait HelloWorld: salsa::Database { +trait HelloWorld { // For each query, we give the name, some input keys (here, we // have one key, `()`) and the output type `Arc`. We can // use attributes to give other configuration: