Skip to content

Commit f519711

Browse files
committed
Fix linter warnings
1 parent 57b6234 commit f519711

File tree

4 files changed

+10
-5
lines changed

4 files changed

+10
-5
lines changed

native/chromium/Cargo.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version = "1.0.0"
44
edition = "2021"
55

66
[lib]
7-
crate_type = ["rlib"]
7+
crate-type = ["rlib"]
88

99
[dependencies]
1010
chromium_jni_utils = { path = "../chromium_jni_utils/" }
@@ -22,4 +22,5 @@ bindgen = { version = "0.69.4", optional = true }
2222
missing_safety_doc = "allow"
2323
not_unsafe_ptr_arg_deref = "allow"
2424
too_many_arguments = "allow"
25-
type_complexity = "allow"
25+
type_complexity = "allow"
26+
missing_transmute_annotations = "allow"

native/chromium_jni/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ chromium_jni_macro = { path = "../chromium_jni_macro/" }
1111
chromium_jni_utils = { path = "../chromium_jni_utils/" }
1212

1313
[lib]
14-
crate_type = ["cdylib"]
14+
crate-type = ["cdylib"]
1515

1616
[lints.clippy]
1717
missing_safety_doc = "allow"

native/chromium_jni_utils/Cargo.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,7 @@ edition = "2021"
77
jni = "0.19.0"
88

99
[lib]
10-
crate_type = ["rlib"]
10+
crate-type = ["rlib"]
11+
12+
[lints.clippy]
13+
missing_transmute_annotations = "allow"

native/chromium_swt/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,5 @@ winapi = { version = "0.3.9", features = ["winuser"] }
1919
[lints.clippy]
2020
missing_safety_doc = "allow"
2121
not_unsafe_ptr_arg_deref = "allow"
22-
too_many_arguments = "allow"
22+
too_many_arguments = "allow"
23+
missing_transmute_annotations = "allow"

0 commit comments

Comments
 (0)