From 71d8d578c6050fcef42caecb61b9d1bcba7716af Mon Sep 17 00:00:00 2001 From: Jorge Aparicio Date: Thu, 27 Nov 2014 19:23:53 -0500 Subject: [PATCH] librustc_back: remove unnecessary `to_string()` calls --- src/librustc_back/rpath.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/librustc_back/rpath.rs b/src/librustc_back/rpath.rs index ea691b85f6c2..a90b49ba101f 100644 --- a/src/librustc_back/rpath.rs +++ b/src/librustc_back/rpath.rs @@ -145,8 +145,8 @@ mod test { "path2".to_string() ]); assert_eq!(flags, - vec!("-Wl,-rpath,path1".to_string(), - "-Wl,-rpath,path2".to_string())); + ["-Wl,-rpath,path1", + "-Wl,-rpath,path2"]); } #[test]