Skip to content

Commit a1e07c1

Browse files
authored
Merge pull request #1217 from nnethercote/add-clap-3.1.6
Add `clap-3.1.6` as a new benchmark.
2 parents 89ebbd3 + 5c3b235 commit a1e07c1

File tree

120 files changed

+32858
-0
lines changed

Some content is hidden

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

120 files changed

+32858
-0
lines changed

collector/benchmarks/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ They mostly consist of real-world crates.
1717

1818
- **cargo-0.60.0**: The Rust package manager. A large program, and an important
1919
one in the Rust ecosystem.
20+
- **clap-3.1.6**: A command line argument parser. A crate used by many Rust
21+
programs.
2022
- **image-0.24.1**: Basic image processing functions and methods for
2123
converting to and from various image formats. Used often in graphics
2224
programming.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"git": {
3+
"sha1": "e702f42e5ec416b477dfc8f71d8caef3a3dff923"
4+
},
5+
"path_in_vcs": ""
6+
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
diff --git a/src/output/usage.rs b/src/output/usage.rs
2+
index 45cfa746..5e6431ce 100644
3+
--- a/src/output/usage.rs
4+
+++ b/src/output/usage.rs
5+
@@ -15,6 +15,7 @@ pub(crate) struct Usage<'help, 'cmd> {
6+
7+
impl<'help, 'cmd> Usage<'help, 'cmd> {
8+
pub(crate) fn new(cmd: &'cmd Command<'help>) -> Self {
9+
+ println!("testing!");
10+
Usage {
11+
cmd,
12+
required: None,
13+

0 commit comments

Comments
 (0)