Skip to content

Commit

Permalink
Fix comments
Browse files Browse the repository at this point in the history
  • Loading branch information
cpmech committed Oct 18, 2023
1 parent 80a40ab commit 46f76a6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions russell_lab/src/base/sort.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use std::mem;

/// Sorts 2 values
/// Sorts 2 values in ascending order
pub fn sort2<T>(x: &mut (T, T))
where
T: PartialOrd,
Expand All @@ -10,7 +10,7 @@ where
}
}

/// Sorts 3 values
/// Sorts 3 values in ascending order
pub fn sort3<T>(x: &mut (T, T, T))
where
T: PartialOrd,
Expand All @@ -26,7 +26,7 @@ where
}
}

/// Sorts 4 values
/// Sorts 4 values in ascending order
pub fn sort4<T>(x: &mut (T, T, T, T))
where
T: PartialOrd,
Expand Down

0 comments on commit 46f76a6

Please sign in to comment.