@@ -2841,11 +2841,11 @@ use farm::cow;
2841
2841
2842
2842
The path you give to ` use ` is per default global, meaning relative to the crate root,
2843
2843
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.)
2845
2845
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
2847
2847
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.
2849
2849
2850
2850
However, it's also possible to import things relative to the module of the ` use ` -statement:
2851
2851
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
3025
3025
of the module ` farm ` to access a function from ` barn ` without needing
3026
3026
to know that ` barn ` exists.
3027
3027
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.
3029
3029
3030
3030
## Using libraries
3031
3031
0 commit comments