Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 1bf7a30

Browse files
committedMay 16, 2024
Turn bare links into automatic links
1 parent 736b225 commit 1bf7a30

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed
 

‎core/src/slice/sort/stable/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ pub(crate) mod quicksort;
1414

1515
/// Stable sort called driftsort by Orson Peters and Lukas Bergdoll.
1616
/// Design document:
17-
/// https://github.com/Voultapher/sort-research-rs/blob/main/writeup/driftsort_introduction/text.md
17+
/// <https://github.com/Voultapher/sort-research-rs/blob/main/writeup/driftsort_introduction/text.md>
1818
///
1919
/// Upholds all safety properties outlined here:
20-
/// https://github.com/Voultapher/sort-research-rs/blob/main/writeup/sort_safety/text.md
20+
/// <https://github.com/Voultapher/sort-research-rs/blob/main/writeup/sort_safety/text.md>
2121
#[inline(always)]
2222
pub fn sort<T, F: FnMut(&T, &T) -> bool, BufT: BufGuard<T>>(v: &mut [T], is_less: &mut F) {
2323
// Arrays of zero-sized types are always all-equal, and thus sorted.

‎core/src/slice/sort/unstable/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ pub(crate) mod quicksort;
1111

1212
/// Unstable sort called ipnsort by Lukas Bergdoll.
1313
/// Design document:
14-
/// https://github.com/Voultapher/sort-research-rs/blob/main/writeup/ipnsort_introduction/text.md
14+
/// <https://github.com/Voultapher/sort-research-rs/blob/main/writeup/ipnsort_introduction/text.md>
1515
///
1616
/// Upholds all safety properties outlined here:
17-
/// https://github.com/Voultapher/sort-research-rs/blob/main/writeup/sort_safety/text.md
17+
/// <https://github.com/Voultapher/sort-research-rs/blob/main/writeup/sort_safety/text.md>
1818
#[inline(always)]
1919
pub fn sort<T, F: FnMut(&T, &T) -> bool>(v: &mut [T], is_less: &mut F) {
2020
// Arrays of zero-sized types are always all-equal, and thus sorted.

0 commit comments

Comments
 (0)
Failed to load comments.