mirror of
https://github.com/salsa-rs/salsa.git
synced 2025-08-04 19:08:32 +00:00
Remove unnecessary current_revision
call from setup_interned_struct
This commit is contained in:
parent
5c37082a08
commit
870dbfecef
2 changed files with 0 additions and 2 deletions
|
@ -207,7 +207,6 @@ macro_rules! setup_interned_struct {
|
|||
$field_ty: $zalsa::interned::HashEqLike<$indexed_ty>,
|
||||
)*
|
||||
{
|
||||
let current_revision = $zalsa::current_revision(db);
|
||||
$Configuration::ingredient(db).intern(db.as_dyn_database(),
|
||||
StructKey::<$db_lt>($($field_id,)* std::marker::PhantomData::default()), |_, data| ($($zalsa::interned::Lookup::into_owned(data.$field_index),)*))
|
||||
}
|
||||
|
|
|
@ -149,7 +149,6 @@ const _: () = {
|
|||
Db_: ?Sized + salsa::Database,
|
||||
String: zalsa_::interned::HashEqLike<T0>,
|
||||
{
|
||||
let current_revision = zalsa_::current_revision(db);
|
||||
Configuration_::ingredient(db).intern(
|
||||
db.as_dyn_database(),
|
||||
StructKey::<'db>(data, std::marker::PhantomData::default()),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue