diff --git a/components/salsa-2022/src/tracked_struct.rs b/components/salsa-2022/src/tracked_struct.rs index ac0b39c2..df131e63 100644 --- a/components/salsa-2022/src/tracked_struct.rs +++ b/components/salsa-2022/src/tracked_struct.rs @@ -50,7 +50,7 @@ where #[derive(Debug, PartialEq, Eq, Hash, PartialOrd, Ord, Copy, Clone)] struct TrackedStructKey { - query_key: Option, + query_key: DatabaseKeyIndex, disambiguator: Disambiguator, data: Data, } @@ -86,7 +86,7 @@ where data_hash, ); let entity_key = TrackedStructKey { - query_key: Some(query_key), + query_key, disambiguator, data, };