diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-05-04 03:34:05 +0200 |
|---|---|---|
| committer | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-05-04 03:34:05 +0200 |
| commit | d7acf596cf01d01ec916752aa26a6e1c83dd4634 (patch) | |
| tree | 650beab0f3a0291380831cff0932b046e081a437 /src/tools | |
| parent | ea178e47b95119fc626b88f0b61187242b3ae487 (diff) | |
| download | rust-d7acf596cf01d01ec916752aa26a6e1c83dd4634.tar.gz rust-d7acf596cf01d01ec916752aa26a6e1c83dd4634.zip | |
Rename 'no tracking issue START' to fit better with tidy.
Diffstat (limited to 'src/tools')
| -rw-r--r-- | src/tools/tidy/src/features.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tools/tidy/src/features.rs b/src/tools/tidy/src/features.rs index 3144df6dd4c..a1a8ab806ea 100644 --- a/src/tools/tidy/src/features.rs +++ b/src/tools/tidy/src/features.rs @@ -191,7 +191,7 @@ pub fn collect_lang_features(base_src_path: &Path, bad: &mut bool) -> Features { // We allow rustc-internal features to omit a tracking issue. // To make tidy accept omitting a tracking issue, group the list of features - // without one inside `// no tracking issue START` and `// no tracking issue END`. + // without one inside `// no-tracking-issue` and `// no-tracking-issue-end`. let mut next_feature_omits_tracking_issue = false; let mut in_feature_group = false; @@ -201,13 +201,13 @@ pub fn collect_lang_features(base_src_path: &Path, bad: &mut bool) -> Features { .filter_map(|(line, line_number)| { let line = line.trim(); - // Within START and END, the tracking issue can be omitted. + // Within -start and -end, the tracking issue can be omitted. match line { - "// no tracking issue START" => { + "// no-tracking-issue-start" => { next_feature_omits_tracking_issue = true; return None; } - "// no tracking issue END" => { + "// no-tracking-issue-end" => { next_feature_omits_tracking_issue = false; return None; } |
