about summary refs log tree commit diff
path: root/src/libtest
diff options
context:
space:
mode:
authorCarol Nichols <carol.nichols@gmail.com>2015-05-02 16:25:49 -0400
committerCarol Nichols <carol.nichols@gmail.com>2015-05-03 20:16:02 -0400
commit7ec81722250efc7798d9163574e01eec5cde85ca (patch)
treed7fa4379f64c945caeb778f9964e5705896b3b95 /src/libtest
parent796be61e9099a440c90f35636ec6a41f89f3639f (diff)
downloadrust-7ec81722250efc7798d9163574e01eec5cde85ca.tar.gz
rust-7ec81722250efc7798d9163574e01eec5cde85ca.zip
Update old uses of ~ in comments and debugging statements
Diffstat (limited to 'src/libtest')
-rw-r--r--src/libtest/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libtest/lib.rs b/src/libtest/lib.rs
index 9cbfe283cbd..31eb9b7fa27 100644
--- a/src/libtest/lib.rs
+++ b/src/libtest/lib.rs
@@ -259,8 +259,8 @@ pub fn test_main(args: &[String], tests: Vec<TestDescAndFn> ) {
 // This will panic (intentionally) when fed any dynamic tests, because
 // it is copying the static values out into a dynamic vector and cannot
 // copy dynamic values. It is doing this because from this point on
-// a ~[TestDescAndFn] is used in order to effect ownership-transfer
-// semantics into parallel test runners, which in turn requires a ~[]
+// a Vec<TestDescAndFn> is used in order to effect ownership-transfer
+// semantics into parallel test runners, which in turn requires a Vec<>
 // rather than a &[].
 pub fn test_main_static(args: env::Args, tests: &[TestDescAndFn]) {
     let args = args.collect::<Vec<_>>();