about summary refs log tree commit diff
path: root/src/libstd/sort.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstd/sort.rs')
-rw-r--r--src/libstd/sort.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/sort.rs b/src/libstd/sort.rs
index d0092e97cb3..e0adae610ba 100644
--- a/src/libstd/sort.rs
+++ b/src/libstd/sort.rs
@@ -146,7 +146,7 @@ fn qsort3<T: copy>(compare_func_lt: le<T>, compare_func_eq: le<T>,
 /**
  * Fancy quicksort. Sorts a mut vector in place.
  *
- * Based on algorithm presented by [Sedgewick and Bentley]/~
+ * Based on algorithm presented by ~[Sedgewick and Bentley]
  * (http://www.cs.princeton.edu/~rs/talks/QuicksortIsOptimal.pdf).
  * According to these slides this is the algorithm of choice for
  * 'randomly ordered keys, abstract compare' & 'small number of key values'.