Skip to content

Commit e578853

Browse files
reorder long names to front
1 parent 6e7c9a1 commit e578853

File tree

9 files changed

+9
-9
lines changed

9 files changed

+9
-9
lines changed

aggregator/src/array.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ impl AggregatorBe for ImplBe {
1414
type State = Vec<Record>;
1515

1616
fn names() -> Vec<&'static str> {
17-
return vec!["arr", "array"];
17+
return vec!["array", "arr"];
1818
}
1919

2020
fn add(state: &mut Vec<Record>, a: &Arc<str>, r: Record) {

aggregator/src/concat.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ impl AggregatorBe for ImplBe {
1414
type State = Vec<String>;
1515

1616
fn names() -> Vec<&'static str> {
17-
return vec!["concat", "concatenate"];
17+
return vec!["concatenate", "concat"];
1818
}
1919

2020
fn add(state: &mut Vec<String>, a: &(Arc<str>, Arc<str>), r: Record) {

aggregator/src/count.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ impl AggregatorBe for ImplBe {
1212
type State = i64;
1313

1414
fn names() -> Vec<&'static str> {
15-
return vec!["ct", "count"];
15+
return vec!["count", "ct"];
1616
}
1717

1818
fn add(state: &mut i64, _a: &(), _r: Record) {

aggregator/src/distinct_array.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ impl AggregatorBe for ImplBe {
4848
type State = DistinctSet<Record>;
4949

5050
fn names() -> Vec<&'static str> {
51-
return vec!["darr", "darray"];
51+
return vec!["darray", "darr"];
5252
}
5353

5454
fn add(state: &mut DistinctSet<Record>, a: &Arc<str>, r: Record) {

aggregator/src/records.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ impl AggregatorBe for ImplBe {
1313
type State = Vec<Record>;
1414

1515
fn names() -> Vec<&'static str> {
16-
return vec!["recs", "records"];
16+
return vec!["records", "recs"];
1717
}
1818

1919
fn add(state: &mut Vec<Record>, _a: &(), r: Record) {

clumper/src/key.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ impl ClumperBe for ImplBe {
1515
type Args = OneStringArgs;
1616

1717
fn names() -> Vec<&'static str> {
18-
return vec!["k", "key"];
18+
return vec!["key", "k"];
1919
}
2020

2121
fn stream(k: &Arc<str>, bsw: Box<Fn(Vec<(Arc<str>, Record)>) -> Stream>) -> Stream {

clumper/src/round_robin.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ impl ClumperBe for ImplBe {
1313
type Args = OneUsizeArgs;
1414

1515
fn names() -> Vec<&'static str> {
16-
return vec!["rr", "round-robin"];
16+
return vec!["round-robin", "rr"];
1717
}
1818

1919
fn stream(n: &usize, bsw: Box<Fn(Vec<(Arc<str>, Record)>) -> Stream>) -> Stream {

sorts/src/lexical.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ impl SortSimpleBe for ImplSimpleBe {
1515
type T = Arc<str>;
1616

1717
fn names() -> Vec<&'static str> {
18-
return vec!["l", "lex", "lexical"];
18+
return vec!["lexical", "lex", "l"];
1919
}
2020

2121
fn get(r: Record) -> Arc<str> {

sorts/src/numeric.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ impl SortSimpleBe for ImplSimpleBe {
1515
type T = F64SortDishonorProxy;
1616

1717
fn names() -> Vec<&'static str> {
18-
return vec!["n", "num", "numeric"];
18+
return vec!["numeric", "num", "n"];
1919
}
2020

2121
fn get(r: Record) -> F64SortDishonorProxy {

0 commit comments

Comments
 (0)