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:
commit
b4d324334c
117 changed files with 1735 additions and 1890 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue