Skip to content

Commit

Permalink
Merge pull request #6 from waywardmonkeys/fix-typos
Browse files Browse the repository at this point in the history
Fix typos.
  • Loading branch information
schell authored Oct 18, 2024
2 parents 8f71e1b + f64d6c2 commit f98a676
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/moongraph/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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))
}
Expand Down Expand Up @@ -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.
///
Expand Down

0 comments on commit f98a676

Please sign in to comment.