From cb950b77e8463cb19db99526fdd56a11143fb0d3 Mon Sep 17 00:00:00 2001 From: Drew Youngwerth Date: Thu, 18 Jun 2020 16:08:57 -0600 Subject: [PATCH] Small spelling fix. --- src/name-resolution.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/name-resolution.md b/src/name-resolution.md index d08fe43f..917f792a 100644 --- a/src/name-resolution.md +++ b/src/name-resolution.md @@ -6,7 +6,7 @@ and macro names. In this chapter, we show how this is actually done and more. In fact, we don't do full name resolution during macro expansion -- we only resolve imports and macros at that time. This is required to know what to even -expand. Later, after we have the whole AST, we due full name resolution to +expand. Later, after we have the whole AST, we do full name resolution to resolve all names in the crate. This happens in [`rustc_resolve::late`][late]. Unlike during macro expansion, in this late expansion, we only need to try to resolve a name once, since no new names can be added. If we fail to resolve a