Skip to content

Commit cdbcbd0

Browse files
committed
Rollup merge of #33346 - Ryman:patch-4, r=alexcrichton
libstd: correct the link to functions in io module documentation Currently the link refers to it's own section of the documentation rather than the list of functions generated by rustdoc. i.e. [this](http://doc.rust-lang.org/std/io/index.html#functions) should link to [this](http://doc.rust-lang.org/std/io/index.html#functions-1)
2 parents 80873ae + 9fe3c06 commit cdbcbd0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libstd/io/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@
195195
//!
196196
//! ## Functions
197197
//!
198-
//! There are a number of [functions][functions] that offer access to various
198+
//! There are a number of [functions][functions-list] that offer access to various
199199
//! features. For example, we can use three of these functions to copy everything
200200
//! from standard input to standard output:
201201
//!
@@ -208,7 +208,7 @@
208208
//! # }
209209
//! ```
210210
//!
211-
//! [functions]: #functions
211+
//! [functions-list]: #functions-1
212212
//!
213213
//! ## io::Result
214214
//!

0 commit comments

Comments
 (0)