diff options
| author | Carol Nichols <carol.nichols@gmail.com> | 2015-05-08 20:48:54 -0400 |
|---|---|---|
| committer | Carol Nichols <carol.nichols@gmail.com> | 2015-05-08 20:48:54 -0400 |
| commit | bf06163ea7f41a54e7ef96ac9c5dfcd626299926 (patch) | |
| tree | 433a764c049135efd237387e9d4671526737070b /src/doc/reference.md | |
| parent | b210aea1d446dcc9d05d0072c439575f9649d9f9 (diff) | |
| download | rust-bf06163ea7f41a54e7ef96ac9c5dfcd626299926.tar.gz rust-bf06163ea7f41a54e7ef96ac9c5dfcd626299926.zip | |
Remove references to deprecated `extern crate "foo" as bar` syntax
This syntax was removed in b24a3b8 but references remained in the grammar, the reference, rustdoc generation, and some auxiliary test files that don't seem to have been used since 812637e.
Diffstat (limited to 'src/doc/reference.md')
| -rw-r--r-- | src/doc/reference.md | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/doc/reference.md b/src/doc/reference.md index ac65b934455..0d04b2d0e3c 100644 --- a/src/doc/reference.md +++ b/src/doc/reference.md @@ -752,11 +752,10 @@ provided in the `extern_crate_decl`. The external crate is resolved to a specific `soname` at compile time, and a runtime linkage requirement to that `soname` is passed to the linker for loading at runtime. The `soname` is resolved at compile time by scanning the -compiler's library path and matching the optional `crateid` provided as a -string literal against the `crateid` attributes that were declared on the -external crate when it was compiled. If no `crateid` is provided, a default -`name` attribute is assumed, equal to the `ident` given in the -`extern_crate_decl`. +compiler's library path and matching the optional `crateid` provided against +the `crateid` attributes that were declared on the external crate when it was +compiled. If no `crateid` is provided, a default `name` attribute is assumed, +equal to the `ident` given in the `extern_crate_decl`. Three examples of `extern crate` declarations: |
