From 006848a8cc5599c32e71aa779d6725d4a54ccdc9 Mon Sep 17 00:00:00 2001 From: Niko Matsakis Date: Tue, 2 Nov 2021 05:43:01 -0400 Subject: [PATCH] matklad nikomatsakis --- src/lib.rs | 5 ----- src/runtime/dependency_graph.rs | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 6d55c99e..bc3fffda 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -510,11 +510,6 @@ where { 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`. diff --git a/src/runtime/dependency_graph.rs b/src/runtime/dependency_graph.rs index f6500108..9c01c2d3 100644 --- a/src/runtime/dependency_graph.rs +++ b/src/runtime/dependency_graph.rs @@ -141,7 +141,7 @@ impl DependencyGraph { ) -> (QueryStack, WaitResult) { 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. drop(query_mutex_guard);