Skip to content

Commit b91a4ee

Browse files
refactor: enable redundant_type_annotations clippy lint (#1001)
1 parent 209108d commit b91a4ee

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ string_add = "warn"
141141
range_plus_one = "warn"
142142
# TODO: self_named_module_files = "warn"
143143
# TODO: partial_pub_fields = "warn" (should we enable only in pdu crates?)
144+
redundant_type_annotations = "warn"
144145

145146
# == Compile-time / optimization == #
146147
doc_include_without_cfg = "warn"

crates/ironrdp-mstsgu/src/lib.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,8 +200,7 @@ impl GwClient {
200200

201201
let work = tokio::spawn(async move {
202202
let iv = Duration::from_secs(15 * 60);
203-
let mut keepalive_interval: tokio::time::Interval =
204-
tokio::time::interval_at(tokio::time::Instant::now() + iv, iv);
203+
let mut keepalive_interval = tokio::time::interval_at(tokio::time::Instant::now() + iv, iv);
205204

206205
loop {
207206
let mut wsbuf = [0u8; 8192];

0 commit comments

Comments
 (0)