Skip to content

Commit e06f90f

Browse files
authored
format style.rs
1 parent 8d08708 commit e06f90f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/tools/tidy/src/style.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ fn generate_problematic_strings(
113113
) -> Vec<String> {
114114
generate_problems(consts, letter_digit)
115115
.flat_map(|v| vec![v.to_string(), format!("{:x}", v), format!("{:X}", v)])
116-
.collect()
116+
.collect()
117117
}
118118

119119
const INTERNAL_COMPILER_DOCS_LINE: &str = "#### This error code is internal to the compiler and will not be emitted with normal Rust code.";
@@ -316,7 +316,7 @@ pub fn check(path: &Path, bad: &mut bool) {
316316
ROOT_PROBLEMATIC_CONSTS,
317317
&[('A', '4'), ('B', '8'), ('E', '3')].iter().cloned().collect(),
318318
);
319-
let problematic_regex = RegexSet::new(problematic_consts_strings.as_slice()).unwrap();
319+
let problematic_regex = RegexSet::new(problematic_consts_strings.as_slice()).unwrap();
320320

321321
walk(path, skip, &mut |entry, contents| {
322322
let file = entry.path();

0 commit comments

Comments
 (0)