diff options
| -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] |
