From 05e85156eda5542df98422d9440937149adb8c4f Mon Sep 17 00:00:00 2001 From: Bruce Mitchener Date: Mon, 24 Mar 2025 22:11:10 +0700 Subject: [PATCH] Fix typo in comment --- src/function.rs | 2 +- src/function/maybe_changed_after.rs | 2 +- src/function/specify.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/function.rs b/src/function.rs index e8d548b8b..d658eecd7 100644 --- a/src/function.rs +++ b/src/function.rs @@ -209,7 +209,7 @@ where // In case there is a reference to the old memo out there, we have to store it // in the deleted entries. This will get cleared when a new revision starts. // - // SAFETY: Once the revision starts, there will be no oustanding borrows to the + // SAFETY: Once the revision starts, there will be no outstanding borrows to the // memo contents, and so it will be safe to free. unsafe { self.deleted_entries.push(old_value) }; } diff --git a/src/function/maybe_changed_after.rs b/src/function/maybe_changed_after.rs index 73edc82e7..a2273b9f5 100644 --- a/src/function/maybe_changed_after.rs +++ b/src/function/maybe_changed_after.rs @@ -290,7 +290,7 @@ where match &old_memo.revisions.origin { QueryOrigin::Assigned(_) => { - // If the value was assigneed by another query, + // If the value was assigned by another query, // and that query were up-to-date, // then we would have updated the `verified_at` field already. // So the fact that we are here means that it was not specified diff --git a/src/function/specify.rs b/src/function/specify.rs index a7a5f4768..a7de10931 100644 --- a/src/function/specify.rs +++ b/src/function/specify.rs @@ -126,7 +126,7 @@ where }; // If we are marking this as validated, it must be a value that was - // assigneed by `executor`. + // assigned by `executor`. match memo.revisions.origin { QueryOrigin::Assigned(by_query) => assert_eq!(by_query, executor), _ => panic!(