File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -179,7 +179,7 @@ pub mod outer_mod {
179
179
}
180
180
181
181
// This function is visible only within `inner_mod`,
182
- // which is the same as leaving it private
182
+ // which is the same as leaving it private.
183
183
pub (self ) fn inner_mod_visible_fn () {}
184
184
}
185
185
pub fn foo () {
@@ -213,7 +213,7 @@ fn main() { bar() }
213
213
214
214
Note that this syntax only adds another restriction to the visibility of an
215
215
item. It does not guarantee that the item is visible within all parts of the
216
- specified scope. In order to access an item all of its parent items up to the
216
+ specified scope. To access an item, all of its parent items up to the
217
217
current scope must still be visible as well.
218
218
219
219
## Re-exporting and Visibility
You can’t perform that action at this time.
0 commit comments