mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-17 07:41:23 +01:00
enable empty_struct_with_brackets lint
This commit is contained in:
parent
885fc8428c
commit
a127253daa
2 changed files with 2 additions and 1 deletions
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue