mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2026-02-05 00:01: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"
|
default_union_representation = "warn"
|
||||||
deref_by_slicing = "warn"
|
deref_by_slicing = "warn"
|
||||||
empty_drop = "warn"
|
empty_drop = "warn"
|
||||||
|
empty_structs_with_brackets = "warn"
|
||||||
filetype_is_file = "warn"
|
filetype_is_file = "warn"
|
||||||
float_cmp_const = "warn"
|
float_cmp_const = "warn"
|
||||||
get_unwrap = "warn"
|
get_unwrap = "warn"
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@ fn version() -> String {
|
||||||
/// Command line arguments
|
/// Command line arguments
|
||||||
#[derive(Parser)]
|
#[derive(Parser)]
|
||||||
#[clap(about, version = version())]
|
#[clap(about, version = version())]
|
||||||
pub(crate) struct Args {}
|
pub(crate) struct Args;
|
||||||
|
|
||||||
/// Parse command line arguments into structured data
|
/// Parse command line arguments into structured data
|
||||||
pub(crate) fn parse() -> Args {
|
pub(crate) fn parse() -> Args {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue