Skip to content

Commit b4dd60c

Browse files
committed
Fix latest linting errors
1 parent b2f0584 commit b4dd60c

File tree

1 file changed

+15
-16
lines changed

1 file changed

+15
-16
lines changed

Cargo.toml

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ license = "GPL-3.0-or-later"
66
description = "Full feature terminal based sequence editor for git interactive rebase."
77
homepage = "https://gitrebasetool.mitmaro.ca/"
88
repository = "https://github.com/MitMaro/git-interactive-rebase-tool"
9-
keywords = [ "git", "editor", "tool", "rebase", "cli" ]
9+
keywords = ["git", "editor", "tool", "rebase", "cli"]
1010
categories = ["command-line-interface", "command-line-utilities", "text-editors"]
1111
readme = "README.md"
1212
include = [
@@ -30,7 +30,7 @@ captur = "0.1.0"
3030
chrono = "0.4.26"
3131
crossbeam-channel = "0.5.8"
3232
crossterm = "0.27.0"
33-
git2 = { version = "0.18.2", default-features = false, features = []}
33+
git2 = { version = "0.18.2", default-features = false, features = [] }
3434
if_chain = "1.0.2"
3535
lazy_static = "1.4.0"
3636
num-format = "0.4.4"
@@ -84,15 +84,15 @@ assets = [
8484
]
8585

8686
[lints.rust]
87-
future_incompatible = {level = "warn", priority = -2}
88-
nonstandard_style = {level = "warn", priority = -2}
89-
rust_2018_compatibility = {level = "warn", priority = -2}
90-
rust_2018_idioms = {level = "warn", priority = -2}
91-
rust_2021_compatibility = {level = "warn", priority = -2}
92-
unused = {level = "warn", priority = -2}
87+
future_incompatible = { level = "warn", priority = -2 }
88+
nonstandard_style = { level = "warn", priority = -2 }
89+
rust_2018_compatibility = { level = "warn", priority = -2 }
90+
rust_2018_idioms = { level = "warn", priority = -2 }
91+
rust_2021_compatibility = { level = "warn", priority = -2 }
92+
unused = { level = "warn", priority = -2 }
9393

94-
unknown_lints = {level = "warn", priority = -1}
95-
renamed_and_removed_lints = {level = "warn", priority = -1}
94+
unknown_lints = { level = "warn", priority = -1 }
95+
renamed_and_removed_lints = { level = "warn", priority = -1 }
9696

9797
absolute_paths_not_starting_with_crate = "warn"
9898
deprecated_in_future = "warn"
@@ -127,16 +127,15 @@ unused_lifetimes = "warn"
127127
unused_macro_rules = "warn"
128128
unused_qualifications = "warn"
129129
unused_results = "warn"
130-
unused_tuple_struct_fields = "warn"
131130
variant_size_differences = "warn"
132131

133132
[lints.clippy]
134-
all = {level = "warn", priority = -2}
135-
cargo = {level = "warn", priority = -2}
136-
pedantic = {level = "warn", priority = -2}
137-
restriction = {level = "warn", priority = -2}
133+
all = { level = "warn", priority = -2 }
134+
cargo = { level = "warn", priority = -2 }
135+
pedantic = { level = "warn", priority = -2 }
136+
restriction = { level = "warn", priority = -2 }
138137

139-
blanket_clippy_restriction_lints = {level = "allow", priority = 5}
138+
blanket_clippy_restriction_lints = { level = "allow", priority = 5 }
140139
absolute_paths = "allow"
141140
as_conversions = "allow"
142141
arithmetic_side_effects = "allow"

0 commit comments

Comments
 (0)