remove unnecessary Option

This commit is contained in:
Niko Matsakis 2024-03-13 05:37:53 -04:00
parent e909ca5c97
commit 4142ebca97

View file

@ -50,7 +50,7 @@ where
#[derive(Debug, PartialEq, Eq, Hash, PartialOrd, Ord, Copy, Clone)] #[derive(Debug, PartialEq, Eq, Hash, PartialOrd, Ord, Copy, Clone)]
struct TrackedStructKey<Data> { struct TrackedStructKey<Data> {
query_key: Option<DatabaseKeyIndex>, query_key: DatabaseKeyIndex,
disambiguator: Disambiguator, disambiguator: Disambiguator,
data: Data, data: Data,
} }
@ -86,7 +86,7 @@ where
data_hash, data_hash,
); );
let entity_key = TrackedStructKey { let entity_key = TrackedStructKey {
query_key: Some(query_key), query_key,
disambiguator, disambiguator,
data, data,
}; };