From 571dec444281d8e0ed7e706722ce8c3e776314b9 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Thu, 15 Jun 2023 20:03:41 +0100 Subject: [PATCH] clap: Use Command, not App warning: use of deprecated struct `clap::App`: Replaced with `Command` --> src/utils.rs:235:18 | 235 | let app: clap::App = F::command(); | ^^^ | = note: `#[warn(deprecated)]` on by default Signed-off-by: Ian Jackson --- src/utils.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils.rs b/src/utils.rs index df2130c..823e202 100644 --- a/src/utils.rs +++ b/src/utils.rs @@ -232,6 +232,6 @@ fn hmac_test_vectors(){ } pub fn verify_cli() { - let app: clap::App = F::command(); + let app: clap::Command = F::command(); app.debug_assert(); } -- 2.30.2