bors
b35e8fbfcb
auto merge of #12861 : huonw/rust/lint-owned-vecs, r=thestinger
...
lint: add lint for use of a `~[T]`.
This is useless at the moment (since pretty much every crate uses
`~[]`), but should help avoid regressions once completely removed from a
crate.
2014-03-13 22:26:35 -07:00
Huon Wilson
62792f09f2
lint: add lint for use of a ~[T]
.
...
This is useless at the moment (since pretty much every crate uses
`~[]`), but should help avoid regressions once completely removed from a
crate.
2014-03-14 11:28:39 +11:00
Alex Crichton
7858065113
std: Rename Chan/Port types and constructor
...
* Chan<T> => Sender<T>
* Port<T> => Receiver<T>
* Chan::new() => channel()
* constructor returns (Sender, Receiver) instead of (Receiver, Sender)
* local variables named `port` renamed to `rx`
* local variables named `chan` renamed to `tx`
Closes #11765
2014-03-13 13:23:29 -07:00
Huon Wilson
fbdd3b2ef6
sync: Rename arc::Condvar to arc::ArcCondvar.
...
The sync submodule also has a `Condvar` type, and its reexport was
shadowing the `arc` type, making it crate-private.
2014-03-01 00:11:56 +11:00
Colin Sherratt
0640fc3a8c
Added missing export of CowArc
2014-02-07 21:47:23 -05:00
JeremyLetang
dd21a51d29
move concurrent stuff from libextra to libsync
2014-02-05 11:56:04 -05:00