aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFuwn <[email protected]>2021-05-20 11:30:49 +0000
committerFuwn <[email protected]>2021-05-20 11:30:49 +0000
commit2dbef1c386d13045d192ce25430d5ce13677f92e (patch)
treeadb6c5eeb43fac3a2e248114d5d454c22b744e14
parentrevert(codecov): no more codecov once again (diff)
downloadwhirl-2dbef1c386d13045d192ce25430d5ce13677f92e.tar.xz
whirl-2dbef1c386d13045d192ce25430d5ce13677f92e.zip
refactor(cli): remove unnecesary lifetime specifiers
-rw-r--r--whirl/src/cli.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/whirl/src/cli.rs b/whirl/src/cli.rs
index 4fa4fdd..82d18c1 100644
--- a/whirl/src/cli.rs
+++ b/whirl/src/cli.rs
@@ -61,7 +61,7 @@ impl Cli {
Ok(())
}
- fn cli<'a, 'b>() -> App<'a, 'b> {
+ fn cli() -> App<'static, 'static> {
App::new(env!("CARGO_PKG_NAME"))
.about(env!("CARGO_PKG_DESCRIPTION"))
.version(env!("CARGO_PKG_VERSION"))