diff options
| author | Patrick Walton <pcwalton@mimiga.net> | 2014-05-12 17:56:43 -0700 |
|---|---|---|
| committer | Patrick Walton <pcwalton@mimiga.net> | 2014-05-14 14:58:00 -0700 |
| commit | 95e310abdcbfe0f5ad511258097624719cbc84db (patch) | |
| tree | 31ee8e4157dbc7b8fe5b8d4abb34601fa863f7d2 /src/test/run-pass/nullable-pointer-iotareduction.rs | |
| parent | 2a7a39191a83fc2a63df6cb47acd344ae669d9c7 (diff) | |
test: Remove all uses of `~str` from the test suite.
Diffstat (limited to 'src/test/run-pass/nullable-pointer-iotareduction.rs')
| -rw-r--r-- | src/test/run-pass/nullable-pointer-iotareduction.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-pass/nullable-pointer-iotareduction.rs b/src/test/run-pass/nullable-pointer-iotareduction.rs index 728c0154a90..1618f11914b 100644 --- a/src/test/run-pass/nullable-pointer-iotareduction.rs +++ b/src/test/run-pass/nullable-pointer-iotareduction.rs @@ -76,7 +76,7 @@ pub fn main() { check_type!(&17: &int); check_type!(box 18: Box<int>); check_type!(@19: @int); - check_type!("foo".to_owned(): ~str); + check_type!("foo".to_strbuf(): StrBuf); check_type!(vec!(20, 22): Vec<int> ); let mint: uint = unsafe { mem::transmute(main) }; check_type!(main: fn(), |pthing| { |
