File tree Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ of its items will then be imported under a module named the same as the library.
55This module generally behaves the same way as any other module.
66
77``` rust,ignore
8- use rary;
8+ // extern crate rary; // May be required for Rust 2015 edition or earlier
99
1010fn main() {
1111 rary::public_function();
@@ -25,14 +25,3 @@ called rary's `public_function()`
2525called rary's `indirect_access()`, that
2626> called rary's `private_function()`
2727```
28-
29- ## ` extern crate `
30-
31- In rare cases, an explicit ` extern crate ` declaration is also required for older
32- Rust editions (2015 or earlier). It may also be required for certain libraries
33- such as ` proc_macro ` or ` test ` (which are shipped with ` rustc ` ).
34- ``` rust,ignore
35- extern crate rary;
36- use rary::public_function;
37- // ...
38- ```
You can’t perform that action at this time.
0 commit comments