Skip to content

Commit

Permalink
Merge pull request #32 from orxfun/minor-fix-in-docs
Browse files Browse the repository at this point in the history
minor fix in docs
  • Loading branch information
orxfun authored Sep 17, 2024
2 parents dfeeead + 2e431ea commit 5232065
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ struct ExprInScope<'a> {
}

impl<'a> ExprInScope<'a> {
/// Recall, it knows that scope it belongs to,
/// Recall, it knows the scope it belongs to,
/// and can check it in O(1)
fn belongs_to_same_scope(&self, other: Self) -> bool {
let self_scope = self.scope as *const Scope;
Expand Down
2 changes: 1 addition & 1 deletion examples/expressions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ struct ExprInScope<'a> {
}

impl<'a> ExprInScope<'a> {
/// Recall, it knows that scope it belongs to,
/// Recall, it knows the scope it belongs to,
/// and can check it in O(1)
fn belongs_to_same_scope(&self, other: Self) -> bool {
let self_scope = self.scope as *const Scope;
Expand Down

0 comments on commit 5232065

Please sign in to comment.