Skip to content

Commit 9145232

Browse files
Fix the make tidy command
1 parent 1ddfd15 commit 9145232

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/librustc_driver/lib.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -322,13 +322,15 @@ fn parse_input(input: &str) -> String {
322322

323323
if funcs.len() > 1 {
324324
while i < funcs.len() - 2 {
325-
out.push_str(&get_color(Color::Blue, Style::NoStyle, funcs[i]));
325+
out.push_str(&get_color(Color::Blue, Style::NoStyle,
326+
funcs[i]));
326327
out.push('.');
327328
i += 1;
328329
}
329330
if i < funcs.len() {
330331
let func_name : Vec<&str> = funcs[i].split('(').collect();
331-
out.push_str(&get_color(Color::Blue, Style::NoStyle, func_name[0]));
332+
out.push_str(&get_color(Color::Blue, Style::NoStyle,
333+
func_name[0]));
332334
i = 1;
333335

334336
while i < func_name.len() {
@@ -347,7 +349,6 @@ fn parse_input(input: &str) -> String {
347349
}
348350
} else {
349351
let func_name : Vec<&str> = word.split('(').collect();
350-
351352

352353
if func_name.len() > 1 {
353354
out.push_str(&get_color(Color::Blue, Style::NoStyle, func_name[0]));

0 commit comments

Comments
 (0)