Skip to content

Commit bdfcb88

Browse files
committed
Use HTTPS links where possible
1 parent b8be316 commit bdfcb88

File tree

66 files changed

+99
-99
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+99
-99
lines changed

compiler/rustc_apfloat/tests/ieee.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,7 @@ fn fma() {
552552
assert!(f1.is_negative() && f1.is_zero());
553553
}
554554

555-
// Test x87 extended precision case from http://llvm.org/PR20728.
555+
// Test x87 extended precision case from https://llvm.org/PR20728.
556556
{
557557
let mut m1 = X87DoubleExtended::from_u128(1).value;
558558
let m2 = X87DoubleExtended::from_u128(1).value;

compiler/rustc_codegen_llvm/src/builder.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -606,7 +606,7 @@ impl BuilderMethods<'a, 'tcx> for Builder<'a, 'll, 'tcx> {
606606
// According to LLVM [1] building a nontemporal store must
607607
// *always* point to a metadata value of the integer 1.
608608
//
609-
// [1]: http://llvm.org/docs/LangRef.html#store-instruction
609+
// [1]: https://llvm.org/docs/LangRef.html#store-instruction
610610
let one = self.cx.const_i32(1);
611611
let node = llvm::LLVMMDNodeInContext(self.cx.llcx, &one, 1);
612612
llvm::LLVMSetMetadata(store, llvm::MD_nontemporal as c_uint, node);

compiler/rustc_codegen_llvm/src/context.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ pub struct CodegenCx<'ll, 'tcx> {
7171
pub statics_to_rauw: RefCell<Vec<(&'ll Value, &'ll Value)>>,
7272

7373
/// Statics that will be placed in the llvm.used variable
74-
/// See <http://llvm.org/docs/LangRef.html#the-llvm-used-global-variable> for details
74+
/// See <https://llvm.org/docs/LangRef.html#the-llvm-used-global-variable> for details
7575
pub used_statics: RefCell<Vec<&'ll Value>>,
7676

7777
pub lltypes: RefCell<FxHashMap<(Ty<'tcx>, Option<VariantIdx>), &'ll Type>>,

compiler/rustc_codegen_llvm/src/llvm/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ pub fn SetFunctionCallConv(fn_: &'a Value, cc: CallConv) {
102102
// example happen for generics when using multiple codegen units. This function simply uses the
103103
// value's name as the comdat value to make sure that it is in a 1-to-1 relationship to the
104104
// function.
105-
// For more details on COMDAT sections see e.g., http://www.airs.com/blog/archives/52
105+
// For more details on COMDAT sections see e.g., https://www.airs.com/blog/archives/52
106106
pub fn SetUniqueComdat(llmod: &Module, val: &'a Value) {
107107
unsafe {
108108
let name = get_value_name(val);

compiler/rustc_graphviz/src/lib.rs

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
//! Generate files suitable for use with [Graphviz](http://www.graphviz.org/)
1+
//! Generate files suitable for use with [Graphviz](https://www.graphviz.org/)
22
//!
33
//! The `render` function generates output (e.g., an `output.dot` file) for
4-
//! use with [Graphviz](http://www.graphviz.org/) by walking a labeled
4+
//! use with [Graphviz](https://www.graphviz.org/) by walking a labeled
55
//! graph. (Graphviz can then automatically lay out the nodes and edges
66
//! of the graph, and also optionally render the graph as an image or
77
//! other [output formats](
8-
//! http://www.graphviz.org/content/output-formats), such as SVG.)
8+
//! https://www.graphviz.org/content/output-formats), such as SVG.)
99
//!
1010
//! Rather than impose some particular graph data structure on clients,
1111
//! this library exposes two traits that clients can implement on their
1212
//! own structs before handing them over to the rendering function.
1313
//!
1414
//! Note: This library does not yet provide access to the full
1515
//! expressiveness of the [DOT language](
16-
//! http://www.graphviz.org/doc/info/lang.html). For example, there are
17-
//! many [attributes](http://www.graphviz.org/content/attrs) related to
16+
//! https://www.graphviz.org/doc/info/lang.html). For example, there are
17+
//! many [attributes](https://www.graphviz.org/content/attrs) related to
1818
//! providing layout hints (e.g., left-to-right versus top-down, which
1919
//! algorithm to use, etc). The current intention of this library is to
2020
//! emit a human-readable .dot file with very regular structure suitable
@@ -267,9 +267,9 @@
267267
//!
268268
//! # References
269269
//!
270-
//! * [Graphviz](http://www.graphviz.org/)
270+
//! * [Graphviz](https://www.graphviz.org/)
271271
//!
272-
//! * [DOT language](http://www.graphviz.org/doc/info/lang.html)
272+
//! * [DOT language](https://www.graphviz.org/doc/info/lang.html)
273273
274274
#![doc(
275275
html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/",
@@ -292,7 +292,7 @@ pub enum LabelText<'a> {
292292
LabelStr(Cow<'a, str>),
293293

294294
/// This kind of label uses the graphviz label escString type:
295-
/// <http://www.graphviz.org/content/attrs#kescString>
295+
/// <https://www.graphviz.org/content/attrs#kescString>
296296
///
297297
/// Occurrences of backslashes (`\`) are not escaped; instead they
298298
/// are interpreted as initiating an escString escape sequence.
@@ -307,12 +307,12 @@ pub enum LabelText<'a> {
307307
/// printed exactly as given, but between `<` and `>`. **No
308308
/// escaping is performed.**
309309
///
310-
/// [html]: http://www.graphviz.org/content/node-shapes#html
310+
/// [html]: https://www.graphviz.org/content/node-shapes#html
311311
HtmlStr(Cow<'a, str>),
312312
}
313313

314314
/// The style for a node or edge.
315-
/// See <http://www.graphviz.org/doc/info/attrs.html#k:style> for descriptions.
315+
/// See <https://www.graphviz.org/doc/info/attrs.html#k:style> for descriptions.
316316
/// Note that some of these are not valid for edges.
317317
#[derive(Copy, Clone, PartialEq, Eq, Debug)]
318318
pub enum Style {
@@ -439,7 +439,7 @@ pub trait Labeller<'a> {
439439
/// Maps `n` to one of the [graphviz `shape` names][1]. If `None`
440440
/// is returned, no `shape` attribute is specified.
441441
///
442-
/// [1]: http://www.graphviz.org/content/node-shapes
442+
/// [1]: https://www.graphviz.org/content/node-shapes
443443
fn node_shape(&'a self, _node: &Self::Node) -> Option<LabelText<'a>> {
444444
None
445445
}

compiler/rustc_interface/src/passes.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,7 @@ fn output_conflicts_with_dir(output_paths: &[PathBuf]) -> Option<PathBuf> {
581581

582582
fn escape_dep_filename(filename: &String) -> String {
583583
// Apparently clang and gcc *only* escape spaces:
584-
// http://llvm.org/klaus/clang/commit/9d50634cfc268ecc9a7250226dd5ca0e945240d4
584+
// https://llvm.org/klaus/clang/commit/9d50634cfc268ecc9a7250226dd5ca0e945240d4
585585
filename.replace(" ", "\\ ")
586586
}
587587

compiler/rustc_middle/src/ty/sty.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1370,8 +1370,8 @@ pub type Region<'tcx> = &'tcx RegionKind;
13701370
/// happen, you can use `leak_check`. This is more clearly explained
13711371
/// by the [rustc dev guide].
13721372
///
1373-
/// [1]: http://smallcultfollowing.com/babysteps/blog/2013/10/29/intermingled-parameter-lists/
1374-
/// [2]: http://smallcultfollowing.com/babysteps/blog/2013/11/04/intermingled-parameter-lists/
1373+
/// [1]: https://smallcultfollowing.com/babysteps/blog/2013/10/29/intermingled-parameter-lists/
1374+
/// [2]: https://smallcultfollowing.com/babysteps/blog/2013/11/04/intermingled-parameter-lists/
13751375
/// [rustc dev guide]: https://rustc-dev-guide.rust-lang.org/traits/hrtb.html
13761376
#[derive(Clone, PartialEq, Eq, Hash, Copy, TyEncodable, TyDecodable, PartialOrd, Ord)]
13771377
pub enum RegionKind {

compiler/rustc_mir/src/borrow_check/region_infer/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1380,7 +1380,7 @@ impl<'tcx> RegionInferenceContext<'tcx> {
13801380
/// terms that the "longer free region" `'a` outlived the "shorter free region" `'b`.
13811381
///
13821382
/// More details can be found in this blog post by Niko:
1383-
/// <http://smallcultfollowing.com/babysteps/blog/2019/01/17/polonius-and-region-errors/>
1383+
/// <https://smallcultfollowing.com/babysteps/blog/2019/01/17/polonius-and-region-errors/>
13841384
///
13851385
/// In the canonical example
13861386
///

compiler/rustc_parse/src/lexer/unicode_chars.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Characters and their corresponding confusables were collected from
2-
// http://www.unicode.org/Public/security/10.0.0/confusables.txt
2+
// https://www.unicode.org/Public/security/10.0.0/confusables.txt
33

44
use super::StringReader;
55
use crate::token;

compiler/rustc_target/src/abi/call/msp430.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Reference: MSP430 Embedded Application Binary Interface
2-
// http://www.ti.com/lit/an/slaa534/slaa534.pdf
2+
// https://web.archive.org/web/20191221205752/http://www.ti.com/lit/an/slaa534/slaa534.pdf
33

44
use crate::abi::call::{ArgAbi, FnAbi};
55

0 commit comments

Comments
 (0)