1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-06-16 22:27:34 +02:00

Update visibility.md (#403)

This commit is contained in:
Charisee Chiw
2023-02-14 12:24:32 -08:00
committed by GitHub
parent cd79cc41a3
commit c06709838f

View File

@ -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.