auto merge of #12815 : alexcrichton/rust/chan-rename, r=brson

* 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
This commit is contained in:
bors 2014-03-13 14:06:37 -07:00
commit b4d324334c
117 changed files with 1735 additions and 1890 deletions

View file

@ -96,7 +96,7 @@ syn keyword rustTrait MutableVector MutableTotalOrdVector
syn keyword rustTrait Vector VectorVector CloneableVector ImmutableVector
"syn keyword rustFunction stream
syn keyword rustTrait Port Chan
syn keyword rustTrait Sender Receiver
"syn keyword rustFunction spawn
syn keyword rustSelf self