diff options
| author | Alexander Regueiro <alexreg@me.com> | 2018-02-24 01:43:53 +0000 |
|---|---|---|
| committer | Who? Me?! <mark-i-m@users.noreply.github.com> | 2018-03-26 20:28:00 -0500 |
| commit | fd04912abdfeb3b2a93eef736a4d9e6797e90ea9 (patch) | |
| tree | 82dd3f29866d5ddb4dd55cc1a3412a856ad5b1f3 /src/doc/rustc-dev-guide/ci | |
| parent | b5bd9cbb9b8b2228858808dd674626f6cac8b05e (diff) | |
| download | rust-fd04912abdfeb3b2a93eef736a4d9e6797e90ea9.tar.gz rust-fd04912abdfeb3b2a93eef736a4d9e6797e90ea9.zip | |
Hard-wrapped lines that are too long.
Diffstat (limited to 'src/doc/rustc-dev-guide/ci')
| -rwxr-xr-x | src/doc/rustc-dev-guide/ci/check_line_lengths.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/rustc-dev-guide/ci/check_line_lengths.sh b/src/doc/rustc-dev-guide/ci/check_line_lengths.sh index 27711806a0f..b32906da68f 100755 --- a/src/doc/rustc-dev-guide/ci/check_line_lengths.sh +++ b/src/doc/rustc-dev-guide/ci/check_line_lengths.sh @@ -14,7 +14,7 @@ for file in "$@" ; do (( inside_block = !$inside_block )) continue fi - if ! (( $inside_block )) && ! [[ "$line" =~ " | "|"://"|\[\^[^\ ]+\]: ]] && (( "${#line}" > $MAX_LINE_LENGTH )) ; then + if ! (( $inside_block )) && ! [[ "$line" =~ " | "|"-|-"|"://"|\[\^[^\ ]+\]: ]] && (( "${#line}" > $MAX_LINE_LENGTH )) ; then (( bad_lines++ )) echo -e "\t$line_no : $line" fi |
