File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -3071,7 +3071,8 @@ The effect it has on your module hierarchy mirrors aspects of both `mod` and `us
3071
3071
The linkage information the binary needs to use the library ` foo ` .
3072
3072
3073
3073
- But like ` use ` , all ` extern mod ` statements that refer to the same library are interchangeable,
3074
- as each one really just presents an alias to an external module (the crate root of the library your linking against).
3074
+ as each one really just presents an alias to an external module (the crate root of the library
3075
+ you're linking against).
3075
3076
3076
3077
Remember how ` use ` -statements have to go before local declarations because the latter shadows the former?
3077
3078
Well, ` extern mod ` statements also have their own rules in that regard:
You can’t perform that action at this time.
0 commit comments