Skip to content

Commit 034f5c8

Browse files
committed
Auto merge of #26568 - barosl:rel-notes-refs, r=alexcrichton
I found some typos in the upcoming 1.1 release note. I corrected them, but I wanted to go further. So I wrote a script that checks the integrity of the Markdown references, and ran it against `RELEASES.md`. This commit fixes some trivial cases, but also removes the following "unused" references: - [`Iterator::cloned`](http://doc.rust-lang.org/nightly/core/iter/trait.Iterator.html#method.cloned) - [`thread::scoped`](http://static.rust-lang.org/doc/master/std/thread/fn.scoped.html) - [`Debug` improvements](https://github.com/rust-lang/rfcs/blob/master/text/0640-debug-improvements.md) - [Rebalancing coherence.](rust-lang/rfcs#1023) However, I think there's a possibility that these features might need to get descriptions as well. How do you feel about it?
2 parents 378a370 + 74fbe3e commit 034f5c8

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

RELEASES.md

+4-9
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Version 1.1.0 (June 2015)
66
Highlights
77
----------
88

9-
* The [`std::fs` module has been expanded][fs-expand] to expand the set of
9+
* The [`std::fs` module has been expanded][fs] to expand the set of
1010
functionality exposed:
1111
* `DirEntry` now supports optimizations like `file_type` and `metadata` which
1212
don't incur a syscall on some platforms.
@@ -23,11 +23,11 @@ Highlights
2323
Libraries
2424
---------
2525

26-
* The `str::split_whitespace` method splits a string on unicode
26+
* The [`str::split_whitespace`] method splits a string on unicode
2727
whitespace boundaries.
2828
* On both Windows and Unix, new extension traits provide conversion of
2929
I/O types to and from the underlying system handles. On Unix, these
30-
traits are [`FrowRawFd`] and [`AsRawFd`], on Windows `FromRawHandle`
30+
traits are [`FromRawFd`] and [`AsRawFd`], on Windows `FromRawHandle`
3131
and `AsRawHandle`. These are implemented for `File`, `TcpStream`,
3232
`TcpListener`, and `UpdSocket`. Further implementations for
3333
`std::process` will be stabilized later.
@@ -79,8 +79,7 @@ Misc
7979
* [The `drop_with_repr_extern` lint warns about mixing `repr(C)`
8080
with `Drop`][drop].
8181

82-
[`split_whitespace`]: http://doc.rust-lang.org/nightly/std/primitive.str.html#method.split_whitespace
83-
[`Iterator::cloned`]: http://doc.rust-lang.org/nightly/core/iter/trait.Iterator.html#method.cloned
82+
[`str::split_whitespace`]: http://doc.rust-lang.org/nightly/std/primitive.str.html#method.split_whitespace
8483
[`FromRawFd`]: http://doc.rust-lang.org/nightly/std/os/unix/io/trait.FromRawFd.html
8584
[`AsRawFd`]: http://doc.rust-lang.org/nightly/std/os/unix/io/trait.AsRawFd.html
8685
[`std::os::unix::symlink`]: http://doc.rust-lang.org/nightly/std/os/unix/fs/fn.symlink.html
@@ -250,7 +249,6 @@ Misc
250249
[sw]: https://github.com/rust-lang/rfcs/blob/master/text/1054-str-words.md
251250
[th]: https://github.com/rust-lang/rfcs/blob/master/text/0909-move-thread-local-to-std-thread.md
252251
[send-rfc]: https://github.com/rust-lang/rfcs/blob/master/text/0458-send-improvements.md
253-
[scoped]: http://static.rust-lang.org/doc/master/std/thread/fn.scoped.html
254252
[moar-ufcs]: https://github.com/rust-lang/rust/pull/22172
255253
[prim-inherent]: https://github.com/rust-lang/rust/pull/23104
256254
[overflow]: https://github.com/rust-lang/rfcs/blob/master/text/0560-integer-overflow.md
@@ -260,12 +258,10 @@ Misc
260258
[string-pattern]: https://github.com/rust-lang/rust/pull/22466
261259
[oibit-final]: https://github.com/rust-lang/rust/pull/21689
262260
[reflect]: https://github.com/rust-lang/rust/pull/23712
263-
[debug-builder]: https://github.com/rust-lang/rfcs/blob/master/text/0640-debug-improvements.md
264261
[conversion]: https://github.com/rust-lang/rfcs/pull/529
265262
[num-traits]: https://github.com/rust-lang/rust/pull/23549
266263
[index-value]: https://github.com/rust-lang/rust/pull/23601
267264
[dropck]: https://github.com/rust-lang/rfcs/pull/769
268-
[fundamental]: https://github.com/rust-lang/rfcs/pull/1023
269265
[ci-compare]: https://gist.github.com/brson/a30a77836fbec057cbee
270266
[fn-inherit]: https://github.com/rust-lang/rust/pull/23282
271267
[fn-blanket]: https://github.com/rust-lang/rust/pull/23895
@@ -368,7 +364,6 @@ Version 1.0.0-alpha.2 (February 2015)
368364
[osstr]: https://github.com/rust-lang/rust/pull/21488
369365
[osstr-rfc]: https://github.com/rust-lang/rfcs/blob/master/text/0517-io-os-reform.md
370366
[Self]: https://github.com/rust-lang/rust/pull/22158
371-
[ufcs]: https://github.com/rust-lang/rust/pull/21077
372367
[ufcs-rfc]: https://github.com/rust-lang/rfcs/blob/master/text/0132-ufcs.md
373368
[un]: https://github.com/rust-lang/rust/pull/22256
374369

0 commit comments

Comments
 (0)