Skip to content

Commit 256af3c

Browse files
flip help_meta over to RegistryArgs (derived)
1 parent 8985d83 commit 256af3c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+3
-199
lines changed

aggregator/src/array.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,6 @@ impl AggregatorBe for ImplBe {
1616
return vec!["array", "arr"];
1717
}
1818

19-
fn help_meta() -> Option<&'static str> {
20-
return Some("key");
21-
}
22-
2319
fn help_msg() -> &'static str {
2420
return "collect values into an array";
2521
}

aggregator/src/average.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,6 @@ impl AggregatorBe for ImplBe {
1616
return vec!["average", "avg"];
1717
}
1818

19-
fn help_meta() -> Option<&'static str> {
20-
return Some("key");
21-
}
22-
2319
fn help_msg() -> &'static str {
2420
return "compute average of numeric values";
2521
}

aggregator/src/concat.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,6 @@ impl AggregatorBe for ImplBe {
2222
return vec!["concatenate", "concat"];
2323
}
2424

25-
fn help_meta() -> Option<&'static str> {
26-
return Some("delim,key");
27-
}
28-
2925
fn help_msg() -> &'static str {
3026
return "collect values into a string joined by a delimter";
3127
}

aggregator/src/count_by.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,6 @@ impl AggregatorBe for ImplBe {
1818
return vec!["countby", "ctby", "cb"];
1919
}
2020

21-
fn help_meta() -> Option<&'static str> {
22-
return Some("key");
23-
}
24-
2521
fn help_msg() -> &'static str {
2622
return "collect counts of values into a hash";
2723
}

aggregator/src/distinct_array.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,6 @@ impl AggregatorBe for ImplBe {
5050
return vec!["darray", "darr"];
5151
}
5252

53-
fn help_meta() -> Option<&'static str> {
54-
return Some("key");
55-
}
56-
5753
fn help_msg() -> &'static str {
5854
return "collect distinct values into an array";
5955
}

aggregator/src/distinct_concat.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,6 @@ impl AggregatorBe for ImplBe {
2323
return vec!["dconcatenate", "dconcat"];
2424
}
2525

26-
fn help_meta() -> Option<&'static str> {
27-
return Some("key");
28-
}
29-
3026
fn help_msg() -> &'static str {
3127
return "collect distinct values into a string joined by a delimter";
3228
}

aggregator/src/distinct_count.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,6 @@ impl AggregatorBe for ImplBe {
1616
return vec!["dcount", "dct"];
1717
}
1818

19-
fn help_meta() -> Option<&'static str> {
20-
return Some("key");
21-
}
22-
2319
fn help_msg() -> &'static str {
2420
return "count distinct values";
2521
}

aggregator/src/first.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,6 @@ impl AggregatorBe for ImplBe {
1515
return vec!["first"];
1616
}
1717

18-
fn help_meta() -> Option<&'static str> {
19-
return Some("key");
20-
}
21-
2218
fn help_msg() -> &'static str {
2319
return "track the first value";
2420
}

aggregator/src/hash.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,6 @@ impl AggregatorBe for ImplBe {
2323
return vec!["hash"];
2424
}
2525

26-
fn help_meta() -> Option<&'static str> {
27-
return Some("key_key,value_key");
28-
}
29-
3026
fn help_msg() -> &'static str {
3127
return "collect pairs (key and value) of values into a hash";
3228
}

aggregator/src/last.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,6 @@ impl AggregatorBe for ImplBe {
1515
return vec!["last"];
1616
}
1717

18-
fn help_meta() -> Option<&'static str> {
19-
return Some("key");
20-
}
21-
2218
fn help_msg() -> &'static str {
2319
return "track the last value";
2420
}

0 commit comments

Comments
 (0)