We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 085f0a8 commit 43ae306Copy full SHA for 43ae306
src/items/extern-crates.md
@@ -2,7 +2,13 @@
2
3
> **<sup>Syntax:<sup>**\
4
> _ExternCrate_ :\
5
-> `extern` `crate` ( [IDENTIFIER] | `self` ) (`as` ( [IDENTIFIER] | `_` ) )<sup>?</sup> `;`
+> `extern` `crate` _CrateRef_ _AsClause_<sup>?</sup> `;`
6
+>
7
+> _CrateRef_ :\
8
+> [IDENTIFIER] | `self`
9
10
+> _AsClause_ :\
11
+> `as` ( [IDENTIFIER] | `_` )
12
13
An _`extern crate` declaration_ specifies a dependency on an external crate.
14
The external crate is then bound into the declaring scope as the [identifier]
0 commit comments