Skip to content

Commit 1e09789

Browse files
committed
Tune lints for 1.79 Rust
1 parent 2eee71e commit 1e09789

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ rustdoc-args = ["--cfg", "docsrs"]
2626
into-regex = ["dep:either", "dep:regex", "dep:regex-syntax"]
2727

2828
[dependencies]
29-
derive_more = { version = "0.99.17", features = ["as_ref", "deref", "deref_mut", "display", "error", "from", "into"], default_features = false }
29+
derive_more = { version = "0.99.17", features = ["as_ref", "deref", "deref_mut", "display", "error", "from", "into"], default-features = false }
3030
nom = "7.0"
3131
nom_locate = "4.0"
3232

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@
6666
clippy::let_underscore_untyped,
6767
clippy::lossy_float_literal,
6868
clippy::manual_c_str_literals,
69-
clippy::manual_clamp,
7069
clippy::map_err_ignore,
7170
clippy::mem_forget,
7271
clippy::missing_assert_message,
@@ -93,7 +92,6 @@
9392
clippy::rc_buffer,
9493
clippy::rc_mutex,
9594
clippy::read_zero_byte_vec,
96-
clippy::readonly_write_lock,
9795
clippy::redundant_clone,
9896
clippy::redundant_type_annotations,
9997
clippy::ref_patterns,
@@ -142,9 +140,11 @@
142140
missing_copy_implementations,
143141
missing_debug_implementations,
144142
missing_docs,
143+
redundant_lifetimes,
145144
semicolon_in_expressions_from_macros,
146145
single_use_lifetimes,
147146
unit_bindings,
147+
unnameable_types,
148148
unreachable_pub,
149149
unsafe_op_in_unsafe_fn,
150150
unstable_features,

0 commit comments

Comments
 (0)