Skip to content

Commit 99f8c1b

Browse files
committed
2015-02-23
1 parent fd21d64 commit 99f8c1b

File tree

2 files changed

+78
-8
lines changed

2 files changed

+78
-8
lines changed

content/2015-02-23-this-week-in-rust.md

Lines changed: 75 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,24 +13,78 @@ contributions](https://github.com/rust-lang/rust/wiki/Note-guide-for-new-contrib
1313
*This Week in Rust* is openly developed [on GitHub](https://github.com/cmr/this-week-in-rust).
1414
If you find any errors or omissions in this week's issue, [please submit a PR](https://github.com/cmr/this-week-in-rust/pulls).
1515

16+
# The big news
17+
18+
Rust [1.0.0-alpha.2] was released on Friday, but keep using
19+
nightlies. Six more weeks until the beta, which should become
20+
1.0. *Only* six more weeks.
21+
22+
[1.0.0-alpha.2]: http://blog.rust-lang.org/2015/02/20/Rust-1.0-alpha2.html
23+
1624
# What's cooking on master?
1725

18-
XXX pull requests were [merged in the last week][merged], and XXX [RFC PRs][rfcs].
26+
127 pull requests were [merged in the last week][merged], and XXX [RFC PRs][rfcs].
1927

20-
[merged]: https://github.com/rust-lang/rust/pulls?q=is%3Apr+is%3Amerged+merged%3A2015-01-12..2015-01-18
21-
[rfcs]: https://github.com/rust-lang/rfcs/pulls?q=is%3Apr+is%3Amerged+merged%3A2015-01-12..2015-01-18
28+
[merged]: https://github.com/rust-lang/rust/pulls?q=is%3Apr+is%3Amerged+merged%3A2015-02-16..2015-02-23
29+
[rfcs]: https://github.com/rust-lang/rfcs/pulls?q=is%3Apr+is%3Amerged+merged%3A2015-02-16..2015-02-23
2230

2331
Now you can follow breaking changes *[as they happen][BitRust]*!
2432

2533
[BitRust]: http://bitrust.octarineparrot.com/
2634

2735
## Breaking Changes
2836

29-
37+
* A [variety of tweaks][thread] have been made to `std::thread` before
38+
declaring it stable.
39+
* The `vec!` macro accepts a new form, `vec![element; len]`, which
40+
[produces a vector containing a number of clones of the same
41+
element][elem].
42+
* The `CString` type has seen a few modifications, as well as the
43+
[introduction of the `CStr` type][cstr].
44+
* `IntoIterator` now has an [associated type for specifying the element
45+
type][into].
46+
* `ExactSizeIterator` is [no longer implemented][exact] for 64-bit
47+
ranges.
48+
* In target specs, `target-word-size` [is now called
49+
`target-pointer-width`][tpw], to match the recently changed
50+
`target_pointer_width` cfg attribute.
51+
* [`fmt::Writer` was renamed to `fmt::Write`][write].
52+
* A [number][audit1] of [modules][audit2] have been [audited][audit3]
53+
for incorrect use of `isize` and `usize`.
54+
* Use of arbitrary attributes not defined by the language [is feature
55+
gated][attr].
56+
57+
[cstr]: https://github.com/rust-lang/rust/pull/22482
58+
[elem]: https://github.com/rust-lang/rust/pull/22455
59+
[thread]: https://github.com/rust-lang/rust/pull/22435
60+
[tpw]: https://github.com/rust-lang/rust/pull/22191
61+
[exact]: https://github.com/rust-lang/rust/pull/22299
62+
[write]: https://github.com/rust-lang/rust/pull/22311
63+
[into]: https://github.com/rust-lang/rust/pull/22313
64+
[audit1]: https://github.com/rust-lang/rust/pull/22339
65+
[audit2]: https://github.com/rust-lang/rust/pull/22401
66+
[audit3]: https://github.com/rust-lang/rust/pull/22485
67+
[attr]: https://github.com/rust-lang/rust/pull/22364
3068

3169
## Other Changes
3270

33-
71+
* [`Send` no longer requires `'static`][send], which make it possible
72+
to express various data-parallel scenarious by sharing interior
73+
pointers. [RFC][send-rfc].
74+
* The ['Macros'] chapter of TRPL has been overhauled and a new
75+
['Advanced Macros'] chapter added.
76+
* `rustc --version` now reports the [build date] in addition to the
77+
commit date, to make it more clear what nightly you are on.
78+
* Florian Hahn [added a new category of 'parse-fail' tests][parse] to
79+
the test suite. This makes it easier to compare model parsers to the
80+
production parser.
81+
82+
[send]: https://github.com/rust-lang/rust/pull/22319
83+
[send-rfc]: https://github.com/rust-lang/rfcs/blob/master/text/0458-send-improvements.md
84+
[build date]: https://github.com/rust-lang/rust/pull/22201
85+
[parse]: https://github.com/rust-lang/rust/pull/22118
86+
['Macros']: http://doc.rust-lang.org/book/macros.html
87+
['Advanced Macros']: http://doc.rust-lang.org/book/advanced-macros.html
3488

3589
## New Contributors
3690

@@ -45,12 +99,26 @@ Now you can follow breaking changes *[as they happen][BitRust]*!
4599

46100
# Friend of the Tree
47101

48-
The Rust Team likes to occassionally recognize people who have made outstanding contributions to The Rust Project, its ecosystem, and its community. These people are 'friends of the tree'.
102+
The Rust Team likes to occassionally recognize people who have made
103+
outstanding contributions to The Rust Project, its ecosystem, and its
104+
community. These people are 'friends of the tree'.
105+
106+
This week's friend of the tree was ... Toby Scrace.
49107

50-
This week's friend of the tree was ...
108+
"Today I would like to nominate Toby Scrace as Friend of the
109+
Tree. Toby emailed me over the weekend about a login vulnerability on
110+
crates.io where you could log in to whomever the previously logged in
111+
user was regardless of whether the GitHub authentication was
112+
successful or not. I very much appreciate Toby emailing me privately
113+
ahead of time, and I definitely feel that Toby has earned becoming
114+
Friend of the Tree."
51115

52116
# Quote of the Week
53117

118+
```
119+
15:35 <Binero> so a Cow is a String that clones as soon as you try to mutate it?
120+
13:53 <scott> it clones when you try to mootate it
121+
```
54122

55123
# Notable Links
56124

drafts/YYYY-MM-DD-this-week-in-rust-template.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,9 @@ Now you can follow breaking changes *[as they happen][BitRust]*!
4545

4646
# Friend of the Tree
4747

48-
The Rust Team likes to occassionally recognize people who have made outstanding contributions to The Rust Project, its ecosystem, and its community. These people are 'friends of the tree'.
48+
The Rust Team likes to occassionally recognize people who have made
49+
outstanding contributions to The Rust Project, its ecosystem, and its
50+
community. These people are 'friends of the tree'.
4951

5052
This week's friend of the tree was ...
5153

0 commit comments

Comments
 (0)