mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-04-02 17:48:47 +02:00
Update visibility.md (#403)
This commit is contained in:
parent
cd79cc41a3
commit
c06709838f
@ -36,7 +36,7 @@ fn main() {
|
||||
|
||||
<details>
|
||||
|
||||
* Use the `pub` keyword to make mods public.
|
||||
* Use the `pub` keyword to make modules public.
|
||||
|
||||
Additionally, there are advanced `pub(...)` specifiers to restrict the scope of public visibility.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user