Skip to content

Commit 5d19f0a

Browse files
author
Jorge Aparicio
committed
librustc_back: remove unnecessary to_string() calls
1 parent 9ef1907 commit 5d19f0a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/librustc_back/rpath.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,8 @@ mod test {
145145
"path2".to_string()
146146
]);
147147
assert_eq!(flags,
148-
vec!("-Wl,-rpath,path1".to_string(),
149-
"-Wl,-rpath,path2".to_string()));
148+
["-Wl,-rpath,path1",
149+
"-Wl,-rpath,path2"]);
150150
}
151151

152152
#[test]

0 commit comments

Comments
 (0)