diff options
| author | Eli Friedman <eli.friedman@gmail.com> | 2015-08-09 14:15:05 -0700 |
|---|---|---|
| committer | Eli Friedman <eli.friedman@gmail.com> | 2015-08-09 14:28:46 -0700 |
| commit | bbbfed2f93d3ba58a53ed8bf353ed11f3bb751db (patch) | |
| tree | 32e769e3502ad0a3b4e97681fac2b9569075f3af /src/libsyntax/diagnostics/plugin.rs | |
| parent | febdc3b201bcce1546c88e3be1b956d3f90d3059 (diff) | |
| download | rust-bbbfed2f93d3ba58a53ed8bf353ed11f3bb751db.tar.gz rust-bbbfed2f93d3ba58a53ed8bf353ed11f3bb751db.zip | |
Use https URLs to refer to rust-lang.org where appropriate.
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)) { |
