Skip to content

Commit f3cbc39

Browse files
committed
Remove duplicate c-variadic.md
1 parent 45b40a7 commit f3cbc39

File tree

2 files changed

+5
-33
lines changed

2 files changed

+5
-33
lines changed

src/doc/unstable-book/src/library-features/c-variadic.md

-26
This file was deleted.

src/tools/tidy/src/unstable_book.rs

+5-7
Original file line numberDiff line numberDiff line change
@@ -93,14 +93,12 @@ pub fn check(path: &Path, features: CollectedFeatures, bad: &mut bool) {
9393
// Check for Unstable Book sections that don't have a corresponding unstable feature
9494
for feature_name in &unstable_book_lib_features_section_file_names - &unstable_lib_feature_names
9595
{
96-
if !unstable_lang_feature_names.contains(&feature_name) {
97-
tidy_error!(
98-
bad,
99-
"The Unstable Book has a 'library feature' section '{}' which doesn't \
96+
tidy_error!(
97+
bad,
98+
"The Unstable Book has a 'library feature' section '{}' which doesn't \
10099
correspond to an unstable library feature",
101-
feature_name
102-
);
103-
}
100+
feature_name
101+
);
104102
}
105103

106104
// Check for Unstable Book sections that don't have a corresponding unstable feature.

0 commit comments

Comments
 (0)