Skip to content

Commit 495efdb

Browse files
Indent note for pub(restricted)
1 parent b0fc4d9 commit 495efdb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/visibility-and-privacy.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -211,10 +211,10 @@ fn bar() {
211211
fn main() { bar() }
212212
```
213213

214-
Note that this syntax only adds another restriction to the visibility of an
215-
item. It does not guarantee that the item is visible within all parts of the
216-
specified scope. To access an item, all of its parent items up to the
217-
current scope must still be visible as well.
214+
> **Note:** This syntax only adds another restriction to the visibility of an
215+
> item. It does not guarantee that the item is visible within all parts of the
216+
> specified scope. To access an item, all of its parent items up to the
217+
> current scope must still be visible as well.
218218
219219
## Re-exporting and Visibility
220220

0 commit comments

Comments
 (0)