mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-04-24 16:42:36 +02:00
Remove extraneous trailing parenthesis (#453)
The text currently looks like this: > See the Rust Reference). And should look like this: > See the Rust Reference. Closer #452
This commit is contained in:
parent
10e918d897
commit
db7a6044b4
@ -40,7 +40,7 @@ fn main() {
|
||||
|
||||
Additionally, there are advanced `pub(...)` specifiers to restrict the scope of public visibility.
|
||||
|
||||
* See the [Rust Reference](https://doc.rust-lang.org/reference/visibility-and-privacy.html#pubin-path-pubcrate-pubsuper-and-pubself)).
|
||||
* See the [Rust Reference](https://doc.rust-lang.org/reference/visibility-and-privacy.html#pubin-path-pubcrate-pubsuper-and-pubself).
|
||||
* Configuring `pub(crate)` visibility is a common pattern.
|
||||
* Less commonly, you can give visibility to a specific path.
|
||||
* In any case, visibility must be granted to an ancestor module (and all of its descendants).
|
||||
|
Loading…
x
Reference in New Issue
Block a user