From ccd0ac59e9a918f3c2a174e31213286dc6867d37 Mon Sep 17 00:00:00 2001 From: Huon Wilson Date: Mon, 10 Jun 2013 23:25:25 +1000 Subject: std: remove str::{connect,concat}*. --- src/libsyntax/parse/parser.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/libsyntax/parse/parser.rs') diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs index 3ff894c267b..03b4c0c5ca1 100644 --- a/src/libsyntax/parse/parser.rs +++ b/src/libsyntax/parse/parser.rs @@ -4002,9 +4002,7 @@ impl Parser { fmt!("illegal ABI: \ expected one of [%s], \ found `%s`", - str::connect_slices( - abi::all_names(), - ", "), + abi::all_names().connect(", "), word)); } } -- cgit 1.4.1-3-g733a5