Skip to content

Commit 7d59c0c

Browse files
committed
Skip tidy style checks for rustc_apfloat
1 parent a49f571 commit 7d59c0c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/tools/tidy/src/style.rs

+4
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,10 @@ pub fn check(path: &Path, bad: &mut bool) {
282282
if filename.contains("ignore-tidy") {
283283
return;
284284
}
285+
// apfloat shouldn't be changed because of license problems
286+
if is_in(file, "compiler", "rustc_apfloat") {
287+
return;
288+
}
285289
let mut skip_cr = contains_ignore_directive(can_contain, &contents, "cr");
286290
let mut skip_undocumented_unsafe =
287291
contains_ignore_directive(can_contain, &contents, "undocumented-unsafe");

0 commit comments

Comments
 (0)