Skip to content

Commit c6077c4

Browse files
committed
nits
1 parent db71a89 commit c6077c4

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/function/specify.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,7 @@ where
3939
//
4040
// Now, if We invoke Q3 first, We get one result for Q2, but if We invoke Q4 first, We get a different value. That's no good.
4141
let database_key_index = <C::Input<'db>>::database_key_index(db.as_dyn_database(), key);
42-
let dependency_index = database_key_index;
43-
if !zalsa_local.is_output_of_active_query(dependency_index) {
42+
if !zalsa_local.is_output_of_active_query(database_key_index) {
4443
panic!("can only use `specify` on salsa structs created during the current tracked fn");
4544
}
4645

src/interned.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,9 @@ where
6868
data: C::Data<'static>,
6969
memos: MemoTable,
7070
syncs: SyncTable,
71-
// The revision the value was first interned in.
71+
/// The revision the value was first interned in.
7272
first_interned_at: Revision,
73-
// The most recent interned revision.
73+
/// The most recent interned revision.
7474
last_interned_at: AtomicRevision,
7575
}
7676

0 commit comments

Comments
 (0)