From b4465aca5ab22447dde52a4a7083d6e3d29e56e2 Mon Sep 17 00:00:00 2001 From: Patrick Walton Date: Thu, 30 Jun 2011 22:21:30 -0700 Subject: [PATCH] stdlib: Fix long line in sort.rs --- src/lib/sort.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/sort.rs b/src/lib/sort.rs index 4845c9ed25a..9154d6a823a 100644 --- a/src/lib/sort.rs +++ b/src/lib/sort.rs @@ -209,7 +209,8 @@ mod ivector { // Based on algorithm presented by Sedgewick and Bentley here: // 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' + // 'randomly ordered keys, abstract compare' & 'small number of key + // values' fn qsort3[T](lteq[T] compare_func_lt, lteq[T] compare_func_eq, &T[mutable] arr, int left, int right) { if (right <= left) { ret; }