Skip to content

Commit 430e68c

Browse files
mbrubeckalexcrichton
authored andcommitted
---
yaml --- r: 110106 b: refs/heads/auto c: 1ac8b34 h: refs/heads/master v: v3
1 parent f9537f6 commit 430e68c

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0
1313
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
1414
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
1515
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
16-
refs/heads/auto: 544516ac63605a689c904504439e484bd5897522
16+
refs/heads/auto: 1ac8b34ccd02965886d3ca0bd83115c7f7b73729
1717
refs/heads/servo: af82457af293e2a842ba6b7759b70288da276167
1818
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c
1919
refs/tags/0.1: b19db808c2793fe2976759b85a355c3ad8c8b336

branches/auto/src/doc/tutorial.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2841,11 +2841,11 @@ use farm::cow;
28412841

28422842
The path you give to `use` is per default global, meaning relative to the crate root,
28432843
no matter how deep the module hierarchy is, or whether the module body it's written in
2844-
is contained in its own file (remember: files are irrelevant).
2844+
is contained in its own file. (Remember: files are irrelevant.)
28452845

2846-
This is different to other languages, where you often only find a single import construct that combines the semantic
2846+
This is different from other languages, where you often only find a single import construct that combines the semantic
28472847
of `mod foo;` and `use`-statements, and which tend to work relative to the source file or use an absolute file path
2848-
- Rubys `require` or C/C++'s `#include` come to mind.
2848+
- Ruby's `require` or C/C++'s `#include` come to mind.
28492849

28502850
However, it's also possible to import things relative to the module of the `use`-statement:
28512851
Adding a `super::` in front of the path will start in the parent module,
@@ -3025,7 +3025,7 @@ The nested `barn` module is private, but the `pub use` allows users
30253025
of the module `farm` to access a function from `barn` without needing
30263026
to know that `barn` exists.
30273027

3028-
In other words, you can use them to decouple an public api from their internal implementation.
3028+
In other words, you can use it to decouple a public api from its internal implementation.
30293029

30303030
## Using libraries
30313031

0 commit comments

Comments
 (0)