diff options
| author | Zack Weinberg <zackw@panix.com> | 2017-02-13 12:33:35 -0500 |
|---|---|---|
| committer | Zack Weinberg <zackw@panix.com> | 2017-02-13 12:33:35 -0500 |
| commit | 5817351048b7c817720f696dd6a0f7005bd1a7a4 (patch) | |
| tree | 4449e73d2765ee852311a4134645c6b8b3f22577 /src/rustllvm/RustWrapper.cpp | |
| parent | 10f6a5c4431e09d355a0ba319a630e02a1e38361 (diff) | |
| download | rust-5817351048b7c817720f696dd6a0f7005bd1a7a4.tar.gz rust-5817351048b7c817720f696dd6a0f7005bd1a7a4.zip | |
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
