diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2015-08-11 22:11:25 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2015-08-11 22:11:25 -0700 |
| commit | 737397c5842d0907cfe0262fff457de6cd96fcc5 (patch) | |
| tree | 6a36dff492d868b89a30b3bfa9096de96c045bae /src/libsyntax/diagnostics/plugin.rs | |
| parent | e132f767038fb2d7ca7a17b0b6a971a55631ba7d (diff) | |
| parent | 7d3c4bd72a8e12e926592ef5592d188c76ac6b7a (diff) | |
| download | rust-737397c5842d0907cfe0262fff457de6cd96fcc5.tar.gz rust-737397c5842d0907cfe0262fff457de6cd96fcc5.zip | |
rollup merge of #27622: eefriedman/https-url
Also fixes a few outdated links.
Diffstat (limited to 'src/libsyntax/diagnostics/plugin.rs')
| -rw-r--r-- | src/libsyntax/diagnostics/plugin.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/diagnostics/plugin.rs b/src/libsyntax/diagnostics/plugin.rs index 48fd05a7550..6c3bee3f48e 100644 --- a/src/libsyntax/diagnostics/plugin.rs +++ b/src/libsyntax/diagnostics/plugin.rs @@ -115,7 +115,7 @@ pub fn expand_register_diagnostic<'cx>(ecx: &'cx mut ExtCtxt, } // URLs can be unavoidably longer than the line limit, so we allow them. - // Allowed format is: `[name]: http://rust-lang.org/` + // Allowed format is: `[name]: https://www.rust-lang.org/` let is_url = |l: &str| l.starts_with('[') && l.contains("]:") && l.contains("http"); if msg.lines().any(|line| line.len() > MAX_DESCRIPTION_WIDTH && !is_url(line)) { |
