Clean struct-opt derive

This commit is contained in:
Aster committed 2022-02-08 00:51:21 +08:00
1 parent eb7388794a
commit b6c6dd6532
10 files changed
+49 -61

No files matched your search

+2 -11
View File
@@ -1,16 +1,7 @@
use anyhow::Result;
use html_parser::Dom;
use html_parser::Element;
use html_parser::Node;
#[allow(unused_imports)]
use std::fmt::{Display, Formatter};
use std::io::Read;
use std::path::PathBuf;
use std::process::exit;
use structopt::StructOpt;
use super::*;
/// Build the Rust WASM app and all of its assets.
#[derive(Clone, Debug, StructOpt)]
#[derive(Clone, Debug, Parser)]
#[structopt(name = "translate")]
pub struct Translate {
/// Activate debug mode