mirror of
https://github.com/salsa-rs/salsa.git
synced 2025-01-22 21:05:11 +00:00
remove unnecessary Option
This commit is contained in:
parent
e909ca5c97
commit
4142ebca97
1 changed files with 2 additions and 2 deletions
|
@ -50,7 +50,7 @@ where
|
|||
|
||||
#[derive(Debug, PartialEq, Eq, Hash, PartialOrd, Ord, Copy, Clone)]
|
||||
struct TrackedStructKey<Data> {
|
||||
query_key: Option<DatabaseKeyIndex>,
|
||||
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,
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue