Skip to content

Commit

Permalink
Merge pull request #1697 from ehuss/extern-crate-as-non-ascii
Browse files Browse the repository at this point in the history
Clarify that `extern crate foo as føø` is allowed
  • Loading branch information
traviscross authored Dec 17, 2024
2 parents 0e37f7b + 0ad4594 commit 3436fc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/identifiers.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Zero width non-joiner (ZWNJ U+200C) and zero width joiner (ZWJ U+200D) character
r[ident.ascii-limitations]
Identifiers are restricted to the ASCII subset of [`XID_Start`] and [`XID_Continue`] in the following situations:

* [`extern crate`] declarations
* [`extern crate`] declarations (except the _AsClause_ identifier)
* External crate names referenced in a [path]
* [Module] names loaded from the filesystem without a [`path` attribute]
* [`no_mangle`] attributed items
Expand Down

0 comments on commit 3436fc7

Please sign in to comment.