Skip to content

Commit 74fbe3e

Browse files
committed
Correct typos and remove unused references from RELEASES.md
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?
1 parent b213c94 commit 74fbe3e

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

RELEASES.md

Lines changed: 4 additions & 9 deletions
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.
@@ -24,11 +24,11 @@ Highlights
2424
Libraries
2525
---------
2626

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

83-
[`split_whitespace`]: http://doc.rust-lang.org/nightly/std/primitive.str.html#method.split_whitespace
84-
[`Iterator::cloned`]: http://doc.rust-lang.org/nightly/core/iter/trait.Iterator.html#method.cloned
83+
[`str::split_whitespace`]: http://doc.rust-lang.org/nightly/std/primitive.str.html#method.split_whitespace
8584
[`FromRawFd`]: http://doc.rust-lang.org/nightly/std/os/unix/io/trait.FromRawFd.html
8685
[`AsRawFd`]: http://doc.rust-lang.org/nightly/std/os/unix/io/trait.AsRawFd.html
8786
[`std::os::unix::symlink`]: http://doc.rust-lang.org/nightly/std/os/unix/fs/fn.symlink.html
@@ -251,7 +250,6 @@ Misc
251250
[sw]: https://github.com/rust-lang/rfcs/blob/master/text/1054-str-words.md
252251
[th]: https://github.com/rust-lang/rfcs/blob/master/text/0909-move-thread-local-to-std-thread.md
253252
[send-rfc]: https://github.com/rust-lang/rfcs/blob/master/text/0458-send-improvements.md
254-
[scoped]: http://static.rust-lang.org/doc/master/std/thread/fn.scoped.html
255253
[moar-ufcs]: https://github.com/rust-lang/rust/pull/22172
256254
[prim-inherent]: https://github.com/rust-lang/rust/pull/23104
257255
[overflow]: https://github.com/rust-lang/rfcs/blob/master/text/0560-integer-overflow.md
@@ -261,12 +259,10 @@ Misc
261259
[string-pattern]: https://github.com/rust-lang/rust/pull/22466
262260
[oibit-final]: https://github.com/rust-lang/rust/pull/21689
263261
[reflect]: https://github.com/rust-lang/rust/pull/23712
264-
[debug-builder]: https://github.com/rust-lang/rfcs/blob/master/text/0640-debug-improvements.md
265262
[conversion]: https://github.com/rust-lang/rfcs/pull/529
266263
[num-traits]: https://github.com/rust-lang/rust/pull/23549
267264
[index-value]: https://github.com/rust-lang/rust/pull/23601
268265
[dropck]: https://github.com/rust-lang/rfcs/pull/769
269-
[fundamental]: https://github.com/rust-lang/rfcs/pull/1023
270266
[ci-compare]: https://gist.github.com/brson/a30a77836fbec057cbee
271267
[fn-inherit]: https://github.com/rust-lang/rust/pull/23282
272268
[fn-blanket]: https://github.com/rust-lang/rust/pull/23895
@@ -369,7 +365,6 @@ Version 1.0.0-alpha.2 (February 2015)
369365
[osstr]: https://github.com/rust-lang/rust/pull/21488
370366
[osstr-rfc]: https://github.com/rust-lang/rfcs/blob/master/text/0517-io-os-reform.md
371367
[Self]: https://github.com/rust-lang/rust/pull/22158
372-
[ufcs]: https://github.com/rust-lang/rust/pull/21077
373368
[ufcs-rfc]: https://github.com/rust-lang/rfcs/blob/master/text/0132-ufcs.md
374369
[un]: https://github.com/rust-lang/rust/pull/22256
375370

0 commit comments

Comments
 (0)