add a comment to TrackedStructInDb trait

This commit is contained in:
Niko Matsakis 2022-08-10 00:10:14 -04:00
parent 85d88b8df0
commit eeb47a065c

View file

@ -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;
}