From f64d6c223cd9f5c42edb3d6e17f8f7f312d2b5e9 Mon Sep 17 00:00:00 2001
From: Bruce Mitchener <bruce.mitchener@gmail.com>
Date: Sat, 19 Oct 2024 00:22:53 +0700
Subject: [PATCH] Fix typos.

---
 crates/moongraph/src/lib.rs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/crates/moongraph/src/lib.rs b/crates/moongraph/src/lib.rs
index 81a5c62..3830a4d 100644
--- a/crates/moongraph/src/lib.rs
+++ b/crates/moongraph/src/lib.rs
@@ -85,7 +85,7 @@ pub fn end() -> Result<(), GraphError> {
     Err(GraphError::TrimNode)
 }
 
-/// Returns a result meaning an error occured and the graph cannot recover.
+/// Returns a result meaning an error occurred and the graph cannot recover.
 pub fn err(err: impl std::error::Error + Send + Sync + 'static) -> Result<(), GraphError> {
     Err(GraphError::other(err))
 }
@@ -946,7 +946,7 @@ impl Graph {
     #[deprecated(
         since = "0.3.3",
         note = "Ambiguous name. Replaced by `interleave_subgraph` and `add_subgraph`. Use \
-                Graph::interleave_subgraph instead as a direct replacment."
+                Graph::interleave_subgraph instead as a direct replacement."
     )]
     /// Merge two graphs, preferring the right in cases of key collisions.
     ///