Skip to content

Commit

Permalink
Minor correction in sort_by_key doc comment
Browse files Browse the repository at this point in the history
  • Loading branch information
caipre committed Sep 20, 2016
1 parent 2c2552b commit 429ba7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libcollections/slice.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1037,7 +1037,7 @@ impl<T> [T] {
self.sort_by(|a, b| a.cmp(b))
}

/// Sorts the slice, in place, using `key` to extract a key by which to
/// Sorts the slice, in place, using `f` to extract a key by which to
/// order the sort by.
///
/// This sort is stable and `O(n log n)` worst-case but allocates
Expand Down

0 comments on commit 429ba7b

Please sign in to comment.