Skip to content

Commit 49c408e

Browse files
author
Stjepan Glavina
committed
Fix markdown links to pdqsort
1 parent c6df67a commit 49c408e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/libcollections/slice.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -1162,7 +1162,7 @@ impl<T> [T] {
11621162
///
11631163
/// # Current implementation
11641164
///
1165-
/// The current algorithm is based on Orson Peters' [pdqsort][pattern-defeating quicksort],
1165+
/// The current algorithm is based on Orson Peters' [pattern-defeating quicksort][pdqsort],
11661166
/// which is a quicksort variant designed to be very fast on certain kinds of patterns,
11671167
/// sometimes achieving linear time. It is randomized but deterministic, and falls back to
11681168
/// heapsort on degenerate inputs.
@@ -1199,7 +1199,7 @@ impl<T> [T] {
11991199
///
12001200
/// # Current implementation
12011201
///
1202-
/// The current algorithm is based on Orson Peters' [pdqsort][pattern-defeating quicksort],
1202+
/// The current algorithm is based on Orson Peters' [pattern-defeating quicksort][pdqsort],
12031203
/// which is a quicksort variant designed to be very fast on certain kinds of patterns,
12041204
/// sometimes achieving linear time. It is randomized but deterministic, and falls back to
12051205
/// heapsort on degenerate inputs.
@@ -1239,7 +1239,7 @@ impl<T> [T] {
12391239
///
12401240
/// # Current implementation
12411241
///
1242-
/// The current algorithm is based on Orson Peters' [pdqsort][pattern-defeating quicksort],
1242+
/// The current algorithm is based on Orson Peters' [pattern-defeating quicksort][pdqsort],
12431243
/// which is a quicksort variant designed to be very fast on certain kinds of patterns,
12441244
/// sometimes achieving linear time. It is randomized but deterministic, and falls back to
12451245
/// heapsort on degenerate inputs.

0 commit comments

Comments
 (0)