1
0
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:
Andrew Jones 2023-02-24 15:27:24 +00:00 committed by GitHub
parent 10e918d897
commit db7a6044b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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