Skip to content

Commit e6480e4

Browse files
committed
Fix misspellings
1 parent 6c6dd24 commit e6480e4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/macros-by-example.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ by other crates, either by path or by `#[macro_use]` as described above.
412412

413413
r[macro.decl.hygiene]
414414

415-
r[macreo.decl.hygiene.intro]
415+
r[macro.decl.hygiene.intro]
416416
By default, all identifiers referred to in a macro are expanded as-is, and are
417417
looked up at the macro's invocation site. This can lead to issues if a macro
418418
refers to an item or macro which isn't in scope at the invocation site. To
@@ -480,7 +480,7 @@ fn foo() {}
480480
> modified to use `$crate` or `local_inner_macros` to work well with path-based
481481
> imports.
482482
483-
r[macro.decl.hygeine.local_inner_macros]
483+
r[macro.decl.hygiene.local_inner_macros]
484484
When a macro is exported, the `#[macro_export]` attribute can have the
485485
`local_inner_macros` keyword added to automatically prefix all contained macro
486486
invocations with `$crate::`. This is intended primarily as a tool to migrate

src/procedural-macros.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ Token trees in procedural macros are defined as
348348
and floating point literals.
349349
- Identifiers, including keywords (`ident`, `r#ident`, `fn`)
350350

351-
r[macro.proc.token.converstion-intro]
351+
r[macro.proc.token.conversion-intro]
352352
Mismatches between these two definitions are accounted for when token streams
353353
are passed to and from procedural macros. \
354354
Note that the conversions below may happen lazily, so they might not happen if

0 commit comments

Comments
 (0)