Skip to content

Commit fce7922

Browse files
committed
Typo in module tutorial
1 parent aedf567 commit fce7922

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/tutorial.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -3071,7 +3071,8 @@ The effect it has on your module hierarchy mirrors aspects of both `mod` and `us
30713071
The linkage information the binary needs to use the library `foo`.
30723072

30733073
- 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).
30753076

30763077
Remember how `use`-statements have to go before local declarations because the latter shadows the former?
30773078
Well, `extern mod` statements also have their own rules in that regard:

0 commit comments

Comments
 (0)