about summary refs log tree commit diff
path: root/src/test/codegen/stack-alloc-string-slice.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-03-09 14:58:32 -0700
committerAlex Crichton <alex@alexcrichton.com>2014-03-13 13:23:29 -0700
commit78580651131c9daacd7e5e4669af819cdd719f09 (patch)
tree6678663d25576f03f2a06d2f957738d8868fccd3 /src/test/codegen/stack-alloc-string-slice.rs
parente86e1d88b2842671123d0a072d00c94bd3f39264 (diff)
downloadrust-78580651131c9daacd7e5e4669af819cdd719f09.tar.gz
rust-78580651131c9daacd7e5e4669af819cdd719f09.zip
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
Diffstat (limited to 'src/test/codegen/stack-alloc-string-slice.rs')
0 files changed, 0 insertions, 0 deletions