summary refs log tree commit diff
path: root/library/alloc/src
diff options
context:
space:
mode:
authorSmitty <me@smitop.com>2021-06-23 16:26:46 -0400
committerSmitty <me@smitop.com>2021-06-23 16:26:46 -0400
commitbdfcb88e8b6203ccb46a2fb6649979b773efc8ac (patch)
tree59b3e4cb3e6b0d9776b9d94cba7f8c5281f599dc /library/alloc/src
parentb8be3162d734f3583b240977615f3e1bae6b364a (diff)
downloadrust-bdfcb88e8b6203ccb46a2fb6649979b773efc8ac.tar.gz
rust-bdfcb88e8b6203ccb46a2fb6649979b773efc8ac.zip
Use HTTPS links where possible
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())