diff --git a/russell_lab/src/base/sort.rs b/russell_lab/src/base/sort.rs index 7cbbafd5..20f73d6c 100644 --- a/russell_lab/src/base/sort.rs +++ b/russell_lab/src/base/sort.rs @@ -1,6 +1,6 @@ use std::mem; -/// Sorts 2 values +/// Sorts 2 values in ascending order pub fn sort2(x: &mut (T, T)) where T: PartialOrd, @@ -10,7 +10,7 @@ where } } -/// Sorts 3 values +/// Sorts 3 values in ascending order pub fn sort3(x: &mut (T, T, T)) where T: PartialOrd, @@ -26,7 +26,7 @@ where } } -/// Sorts 4 values +/// Sorts 4 values in ascending order pub fn sort4(x: &mut (T, T, T, T)) where T: PartialOrd,