enable empty_struct_with_brackets lint

This commit is contained in:
Charles Hall 2024-05-12 16:25:22 -07:00
parent 885fc8428c
commit a127253daa
No known key found for this signature in database
GPG key ID: 7B8E0645816E07CF
2 changed files with 2 additions and 1 deletions

View file

@ -24,6 +24,7 @@ dbg_macro = "warn"
default_union_representation = "warn"
deref_by_slicing = "warn"
empty_drop = "warn"
empty_structs_with_brackets = "warn"
filetype_is_file = "warn"
float_cmp_const = "warn"
get_unwrap = "warn"

View file

@ -19,7 +19,7 @@ fn version() -> String {
/// Command line arguments
#[derive(Parser)]
#[clap(about, version = version())]
pub(crate) struct Args {}
pub(crate) struct Args;
/// Parse command line arguments into structured data
pub(crate) fn parse() -> Args {