diff options
| author | Corey Farwell <coreyf@rwell.org> | 2017-03-17 08:48:51 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-03-17 08:48:51 -0400 |
| commit | 69717170a410cd8f3e9647c5f38c72eff59e4c72 (patch) | |
| tree | 5cd7e118760ba07a67235c947c6b2985ae67b63f /src/libstd/lib.rs | |
| parent | 739d89aef5c8a0fbe6314d0dc9a681db1ff136c4 (diff) | |
| parent | e7b0f2badf7c3393f1b36339b121054d05353442 (diff) | |
| download | rust-69717170a410cd8f3e9647c5f38c72eff59e4c72.tar.gz rust-69717170a410cd8f3e9647c5f38c72eff59e4c72.zip | |
Rollup merge of #40456 - frewsxcv:frewsxcv-docs-function-parens, r=GuillaumeGomez
Remove function invokation parens from documentation links. This was never established as a convention we should follow in the 'More API Documentation Conventions' RFC: https://github.com/rust-lang/rfcs/blob/master/text/1574-more-api-documentation-conventions.md
Diffstat (limited to 'src/libstd/lib.rs')
| -rw-r--r-- | src/libstd/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs index 7fa5ad25560..2c83518d388 100644 --- a/src/libstd/lib.rs +++ b/src/libstd/lib.rs @@ -21,7 +21,7 @@ //! contained an `extern crate std;` import at the [crate root]. Therefore the //! standard library can be accessed in [`use`] statements through the path //! `std`, as in [`use std::env`], or in expressions through the absolute path -//! `::std`, as in [`::std::env::args()`]. +//! `::std`, as in [`::std::env::args`]. //! //! # How to read this documentation //! @@ -156,7 +156,7 @@ //! [TCP]: net/struct.TcpStream.html //! [The Rust Prelude]: prelude/index.html //! [UDP]: net/struct.UdpSocket.html -//! [`::std::env::args()`]: env/fn.args.html +//! [`::std::env::args`]: env/fn.args.html //! [`Arc`]: sync/struct.Arc.html //! [owned slice]: boxed/index.html //! [`Cell`]: cell/struct.Cell.html |
