about summary refs log tree commit diff
path: root/src/rt/rust_task.cpp
diff options
context:
space:
mode:
authorHuon Wilson <dbau.pp+github@gmail.com>2013-06-11 23:52:24 +1000
committerHuon Wilson <dbau.pp+github@gmail.com>2013-06-12 12:21:04 +1000
commit073e82fff27497ea9b7b73173ddfc349463570b7 (patch)
tree20b77711bc0728cea9b468083725e795e801617d /src/rt/rust_task.cpp
parent3a1e13c7a00cd5cc90385d1fc577a992a155bd34 (diff)
downloadrust-073e82fff27497ea9b7b73173ddfc349463570b7.tar.gz
rust-073e82fff27497ea9b7b73173ddfc349463570b7.zip
std: create Str trait for DRY. Use it on StrVector.
The Str trait collects the various strings types and provides a method
for coercing to a slice, so that functions and impls can be written for
generic types containing strings (e.g. &[~str], &[&str], ...) without
having to write one for each string type (assuming that the impl only
needs a slice).
Diffstat (limited to 'src/rt/rust_task.cpp')
0 files changed, 0 insertions, 0 deletions