matklad nikomatsakis

This commit is contained in:
Niko Matsakis 2021-11-02 05:43:01 -04:00
parent 83b2f40ca2
commit 006848a8cc
2 changed files with 1 additions and 6 deletions

View file

@ -510,11 +510,6 @@ where
{ {
self.storage.purge(); self.storage.purge();
} }
#[allow(dead_code)] // FIXME
pub(crate) fn cycle_recovery_strategy(&self) -> plumbing::CycleRecoveryStrategy {
Q::Storage::CYCLE_STRATEGY
}
} }
/// Return value from [the `query_mut` method] on `Database`. /// Return value from [the `query_mut` method] on `Database`.

View file

@ -141,7 +141,7 @@ impl DependencyGraph {
) -> (QueryStack, WaitResult) { ) -> (QueryStack, WaitResult) {
me.add_edge(from_id, database_key, to_id, from_stack); me.add_edge(from_id, database_key, to_id, from_stack);
// Release the mut&mut meex that prevents `database_key` // Release the mutex that prevents `database_key`
// from completing, now that the edge has been added. // from completing, now that the edge has been added.
drop(query_mutex_guard); drop(query_mutex_guard);