Skip to content

Commit e33c8d6

Browse files
mbrubeckalexcrichton
authored andcommitted
---
yaml --- r: 119193 b: refs/heads/dist-snap c: 1ac8b34 h: refs/heads/master i: 119191: 1f1f39f v: v3
1 parent 82003e7 commit e33c8d6

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
@@ -6,7 +6,7 @@ refs/heads/try: 1813e5aa1a03b0596b8de7abd1af31edf5d6098f
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c
9-
refs/heads/dist-snap: 544516ac63605a689c904504439e484bd5897522
9+
refs/heads/dist-snap: 1ac8b34ccd02965886d3ca0bd83115c7f7b73729
1010
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1111
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
1212
refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0

branches/dist-snap/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)