Unnamed repository; edit this file 'description' to name the repository.
Fix two more “a”/“an” typos (this time the other way)
Frank Steffahn 2021-08-22
parent c8fd4fd · commit 5f5d454
-rw-r--r--crates/hir_def/src/path/lower.rs2
-rw-r--r--crates/mbe/src/expander.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/crates/hir_def/src/path/lower.rs b/crates/hir_def/src/path/lower.rs
index 27345d07ce..82bdcd5a86 100644
--- a/crates/hir_def/src/path/lower.rs
+++ b/crates/hir_def/src/path/lower.rs
@@ -101,7 +101,7 @@ pub(super) fn lower_path(mut path: ast::Path, ctx: &LowerCtx) -> Option<Path> {
break;
}
ast::PathSegmentKind::SelfKw => {
- // don't break out if `self` is the last segment of a path, this mean we got an
+ // don't break out if `self` is the last segment of a path, this mean we got a
// use tree like `foo::{self}` which we want to resolve as `foo`
if !segments.is_empty() {
kind = PathKind::Super(0);
diff --git a/crates/mbe/src/expander.rs b/crates/mbe/src/expander.rs
index e9ef8ccecd..230d33e538 100644
--- a/crates/mbe/src/expander.rs
+++ b/crates/mbe/src/expander.rs
@@ -93,7 +93,7 @@ pub(crate) fn expand_rules(
///
/// In other words, `Bindings` is a *multi* mapping from `SmolStr` to
/// `tt::TokenTree`, where the index to select a particular `TokenTree` among
-/// many is not a plain `usize`, but an `&[usize]`.
+/// many is not a plain `usize`, but a `&[usize]`.
#[derive(Debug, Default, Clone, PartialEq, Eq)]
struct Bindings {
inner: FxHashMap<SmolStr, Binding>,