Fix a doctest

This commit is contained in:
Stjepan Glavina 2017-03-17 23:17:59 +01:00
parent e365974750
commit f0e5868627
1 changed files with 1 additions and 1 deletions

View File

@ -1256,9 +1256,9 @@ impl<T> [T] {
///
/// v.sort_unstable_by_key(|k| k.abs());
/// assert!(v == [1, 2, -3, 4, -5]);
/// ```
///
/// [pdqsort]: https://github.com/orlp/pdqsort
/// ```
// FIXME #40585: Mention `sort_unstable_by_key` in the documentation for `sort_by_key`.
#[unstable(feature = "sort_unstable", issue = "40585")]
#[inline]