summary refs log tree commit diff
path: root/library/alloc/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-06-26 08:24:31 +0000
committerbors <bors@rust-lang.org>2021-06-26 08:24:31 +0000
commit481971978fda83aa7cf1f1f3c80cfad822377cf2 (patch)
tree93a3b16e36f948703197603b3f3bea4447780465 /library/alloc/src
parent6830052c7b87217886324129bffbe096e485d415 (diff)
parent3da037f82988b8b3aca2ce13c5c81ba975923cab (diff)
downloadrust-481971978fda83aa7cf1f1f3c80cfad822377cf2.tar.gz
rust-481971978fda83aa7cf1f1f3c80cfad822377cf2.zip
Auto merge of #86586 - Smittyvb:https-everywhere, r=petrochenkov
Use HTTPS links where possible

While looking at #86583, I wondered how many other (insecure) HTTP links were in `rustc`. This changes most other `http` links to `https`. While most of the links are in comments or documentation, there are a few other HTTP links that are used by CI that are changed to HTTPS.

Notes:
- I didn't change any to or in licences
- Some links don't support HTTPS :(
- Some `http` links were dead, in those cases I upgraded them to their new places (all of which used HTTPS)
Diffstat (limited to 'library/alloc/src')
-rw-r--r--library/alloc/src/slice.rs2
-rw-r--r--library/alloc/src/str.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/library/alloc/src/slice.rs b/library/alloc/src/slice.rs
index dcd64899204..4c8ea6902ff 100644
--- a/library/alloc/src/slice.rs
+++ b/library/alloc/src/slice.rs
@@ -1042,7 +1042,7 @@ where
 }
 
 /// This merge sort borrows some (but not all) ideas from TimSort, which is described in detail
-/// [here](http://svn.python.org/projects/python/trunk/Objects/listsort.txt).
+/// [here](https://github.com/python/cpython/blob/main/Objects/listsort.txt).
 ///
 /// The algorithm identifies strictly descending and non-descending subsequences, which are called
 /// natural runs. There is a stack of pending runs yet to be merged. Each newly found run is pushed
diff --git a/library/alloc/src/str.rs b/library/alloc/src/str.rs
index 57279e81a95..62ba2e57655 100644
--- a/library/alloc/src/str.rs
+++ b/library/alloc/src/str.rs
@@ -396,7 +396,7 @@ impl str {
         return s;
 
         fn map_uppercase_sigma(from: &str, i: usize, to: &mut String) {
-            // See http://www.unicode.org/versions/Unicode7.0.0/ch03.pdf#G33992
+            // See https://www.unicode.org/versions/Unicode7.0.0/ch03.pdf#G33992
             // for the definition of `Final_Sigma`.
             debug_assert!('Σ'.len_utf8() == 2);
             let is_word_final = case_ignoreable_then_cased(from[..i].chars().rev())