diff options
| author | Jorge Aparicio <japaricious@gmail.com> | 2014-11-27 19:23:53 -0500 |
|---|---|---|
| committer | Jorge Aparicio <japaricious@gmail.com> | 2014-12-06 23:53:02 -0500 |
| commit | 71d8d578c6050fcef42caecb61b9d1bcba7716af (patch) | |
| tree | 3b3e6ee39b95ca59a501865e514a14cfaa30892c /src | |
| parent | 8379d722933eff4831fc38e158a7238a9e2d8984 (diff) | |
librustc_back: remove unnecessary `to_string()` calls
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustc_back/rpath.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc_back/rpath.rs b/src/librustc_back/rpath.rs index ea691b85f6c..a90b49ba101 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] |
