mirror of
https://github.com/salsa-rs/salsa.git
synced 2025-01-15 01:39:25 +00:00
add a comment to TrackedStructInDb trait
This commit is contained in:
parent
85d88b8df0
commit
eeb47a065c
1 changed files with 1 additions and 0 deletions
|
@ -15,6 +15,7 @@ pub trait TrackedStructData: InternedData {}
|
|||
impl<T: InternedData> TrackedStructData for T {}
|
||||
|
||||
pub trait TrackedStructInDb<DB: ?Sized + Database>: SalsaStructInDb<DB> {
|
||||
/// Converts the identifier for this tracked struct into a `DatabaseKeyIndex`.
|
||||
fn database_key_index(self, db: &DB) -> DatabaseKeyIndex;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue