Fix two more “a”/“an” typos (this time the other way)

This commit is contained in:
Frank Steffahn 2021-08-22 17:35:52 +02:00
parent c8fd4fd410
commit 5f5d45468d
2 changed files with 2 additions and 2 deletions

View file

@ -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);

View file

@ -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>,