File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -6,11 +6,13 @@ edition = "2021"
6
6
readme = " README.md"
7
7
8
8
[lints .clippy ]
9
- cast_possible_truncation = " warn"
10
- cast_possible_wrap = " warn"
11
- cast_sign_loss = " warn"
9
+ pedantic = " warn"
10
+
12
11
# See `clippy.toml`.
13
12
disallowed_methods = " warn"
13
+ arithmetic_side_effects = " warn"
14
+ match_bool = " allow"
15
+ module_name_repetitions = " allow"
14
16
15
17
[dependencies ]
16
18
clap = { version = " 4.2.7" , features = [" derive" ] }
Original file line number Diff line number Diff line change @@ -33,9 +33,8 @@ async fn main() {
33
33
34
34
// Parse .env if it exists.
35
35
match dotenvy:: dotenv ( ) {
36
- Err ( dotenvy:: Error :: Io ( _) ) => { }
36
+ Ok ( _ ) | Err ( dotenvy:: Error :: Io ( _) ) => { }
37
37
Err ( err) => panic ! ( "Failed to parse .env file; err={err}" ) ,
38
- Ok ( _) => { }
39
38
}
40
39
41
40
// Log build information.
You can’t perform that action at this time.
0 commit comments