mirror of
https://github.com/salsa-rs/salsa.git
synced 2025-01-15 01:39:25 +00:00
mark some unused variables
This commit is contained in:
parent
41f9ca6462
commit
e331f7102d
1 changed files with 3 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
use crate::{
|
||||
cycle::CycleRecoveryStrategy,
|
||||
ingredient::{Ingredient, MutIngredient},
|
||||
ingredient::Ingredient,
|
||||
key::{DatabaseKeyIndex, DependencyIndex},
|
||||
runtime::{local_state::QueryInputs, Runtime},
|
||||
AsId, IngredientIndex, Revision,
|
||||
|
@ -37,7 +37,7 @@ where
|
|||
}
|
||||
}
|
||||
|
||||
pub fn new_input(&mut self, runtime: &mut Runtime) -> Id {
|
||||
pub fn new_input(&mut self, _runtime: &mut Runtime) -> Id {
|
||||
let next_id = self.counter;
|
||||
self.counter += 1;
|
||||
Id::from_id(crate::Id::from(next_id))
|
||||
|
@ -48,7 +48,7 @@ impl<DB: ?Sized, Id> Ingredient<DB> for InputIngredient<Id>
|
|||
where
|
||||
Id: InputId,
|
||||
{
|
||||
fn maybe_changed_after(&self, db: &DB, input: DependencyIndex, revision: Revision) -> bool {
|
||||
fn maybe_changed_after(&self, _db: &DB, _input: DependencyIndex, _revision: Revision) -> bool {
|
||||
// Input ingredients are just a counter, they store no data, they are immortal.
|
||||
// Their *fields* are stored in function ingredients elsewhere.
|
||||
false
|
||||
|
|
Loading…
Reference in a new issue