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)]
|
#[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,
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue