Skip to content

Commit 5f5d454

Browse files
committed
Fix two more “a”/“an” typos (this time the other way)
1 parent c8fd4fd commit 5f5d454

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

crates/hir_def/src/path/lower.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ pub(super) fn lower_path(mut path: ast::Path, ctx: &LowerCtx) -> Option<Path> {
101101
break;
102102
}
103103
ast::PathSegmentKind::SelfKw => {
104-
// don't break out if `self` is the last segment of a path, this mean we got an
104+
// don't break out if `self` is the last segment of a path, this mean we got a
105105
// use tree like `foo::{self}` which we want to resolve as `foo`
106106
if !segments.is_empty() {
107107
kind = PathKind::Super(0);

crates/mbe/src/expander.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ pub(crate) fn expand_rules(
9393
///
9494
/// In other words, `Bindings` is a *multi* mapping from `SmolStr` to
9595
/// `tt::TokenTree`, where the index to select a particular `TokenTree` among
96-
/// many is not a plain `usize`, but an `&[usize]`.
96+
/// many is not a plain `usize`, but a `&[usize]`.
9797
#[derive(Debug, Default, Clone, PartialEq, Eq)]
9898
struct Bindings {
9999
inner: FxHashMap<SmolStr, Binding>,

0 commit comments

Comments
 (0)