mirror of
https://github.com/salsa-rs/salsa.git
synced 2025-01-13 00:40:22 +00:00
add debugging methods on input::set
This commit is contained in:
parent
f7d6ebe76a
commit
d11a15aff9
1 changed files with 4 additions and 0 deletions
|
@ -195,10 +195,14 @@ where
|
|||
Q::Value: Default,
|
||||
{
|
||||
fn set(&self, db: &DB, key: &Q::Key, value: Q::Value) {
|
||||
log::debug!("{:?}({:?}) = {:?}", Q::default(), key, value);
|
||||
|
||||
self.set_common(db, key, value, IsConstant(false))
|
||||
}
|
||||
|
||||
fn set_constant(&self, db: &DB, key: &Q::Key, value: Q::Value) {
|
||||
log::debug!("{:?}({:?}) = {:?}", Q::default(), key, value);
|
||||
|
||||
self.set_common(db, key, value, IsConstant(true))
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue