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 {
179179 }
180180
181181 // 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.
183183 pub (self ) fn inner_mod_visible_fn () {}
184184 }
185185 pub fn foo () {
@@ -213,7 +213,7 @@ fn main() { bar() }
213213
214214Note that this syntax only adds another restriction to the visibility of an
215215item. 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
217217current scope must still be visible as well.
218218
219219## Re-exporting and Visibility
You can’t perform that action at this time.
0 commit comments