From e91b36fec94be3d4fc9718982f497de9f6539441 Mon Sep 17 00:00:00 2001 From: Carter Canedy Date: Tue, 21 Jan 2025 11:17:12 -0800 Subject: [PATCH] typos --- crates/project/src/graph.rs | 2 +- crates/project/src/task_inventory.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/project/src/graph.rs b/crates/project/src/graph.rs index 5a5d26035ef9b..6424bc28896fb 100644 --- a/crates/project/src/graph.rs +++ b/crates/project/src/graph.rs @@ -84,7 +84,7 @@ impl Graph { None } - /// Build a subgraph starting from `start_node` from the nodes of this grpah + /// Build a subgraph starting from `start_node` from the nodes of this graph pub fn subgraph(&self, start_node: u32) -> Graph { let Some(_) = self.adjacencies.get(&start_node) else { let mut graph = Graph::new(); diff --git a/crates/project/src/task_inventory.rs b/crates/project/src/task_inventory.rs index ab055468b73d6..788f1f952df2d 100644 --- a/crates/project/src/task_inventory.rs +++ b/crates/project/src/task_inventory.rs @@ -168,7 +168,7 @@ impl Inventory { }) .collect::>(); - // map node idxs to task labels for retreival if a cycle is found + // map node idxs to task labels for retrieval if a cycle is found let indexes = nodes .iter() .map(|(label, (idx, _, _, _))| (*idx, *label))