about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorCorey Farwell <coreyf@rwell.org>2017-02-14 10:07:36 -0500
committerGitHub <noreply@github.com>2017-02-14 10:07:36 -0500
commit4246f37588a83bda7ce885926c2ec88b7ccc3d44 (patch)
tree06eb5c192daab4b022509306990591aa869e8497 /src/rustllvm/RustWrapper.cpp
parent376e24697f76e17ede36610921750a6371e086d1 (diff)
parentff4758c2a0dffef264fe73b90668bd04b1b2fa89 (diff)
downloadrust-4246f37588a83bda7ce885926c2ec88b7ccc3d44.tar.gz
rust-4246f37588a83bda7ce885926c2ec88b7ccc3d44.zip
Rollup merge of #39790 - zackw:tidy-linelen-exempt-urls, r=alexcrichton
tidy: exempt URLs from the line length restriction

The length of a URL is usually not under our control, and Markdown
provides no way to split a URL in the middle.  Therefore, comment
lines consisting _solely_ of a URL (possibly with a Markdown link
label in front) should be exempt from the line-length restriction.

Inline hyperlink destinations ( `[foo](http://...)` notation ) are
_not_ exempt, because it is my arrogant opinion that long lines of
that type make the source text illegible.

The patch adds dependencies on the `regex` and `lazy_static` crates
to the tidy utility.  This _appears_ to Just Work, but if you would
rather not have that dependency I am willing to provide a hand-written
parser instead.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions