Skip to content

Commit dcf2566

Browse files
authored
webidl: fix structopt macro to be clap (#4244)
1 parent 61e50b6 commit dcf2566

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

crates/webidl/src/main.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,7 @@ use std::path::PathBuf;
66
use update_cargo_toml::update_cargo_toml_features;
77

88
#[derive(Parser, Debug)]
9-
#[structopt(
10-
name = "wasm-bindgen-webidl",
11-
about = "Converts WebIDL into wasm-bindgen compatible code."
12-
)]
9+
#[clap(about = "Converts WebIDL into wasm-bindgen compatible code.")]
1310
struct Opt {
1411
input_dir: PathBuf,
1512

0 commit comments

Comments
 (0)