From 3bef1b7db819042cd7d53d766b51f099f5b54bbb Mon Sep 17 00:00:00 2001 From: rsteube Date: Tue, 23 Jan 2024 22:12:07 +0100 Subject: [PATCH] fix clippy --- src/completion/default.rs | 3 +++ src/menu/ide_menu.rs | 1 + 2 files changed, 4 insertions(+) diff --git a/src/completion/default.rs b/src/completion/default.rs index 07e816fb..c8823c24 100644 --- a/src/completion/default.rs +++ b/src/completion/default.rs @@ -419,6 +419,7 @@ mod tests { Suggestion { value: "test".into(), description: None, + style: None, extra: None, span: Span { start: 8, end: 9 }, append_whitespace: false, @@ -426,6 +427,7 @@ mod tests { Suggestion { value: "this is the reedline crate".into(), description: None, + style: None, extra: None, span: Span { start: 8, end: 9 }, append_whitespace: false, @@ -433,6 +435,7 @@ mod tests { Suggestion { value: "this is the reedline crate".into(), description: None, + style: None, extra: None, span: Span { start: 0, end: 9 }, append_whitespace: false, diff --git a/src/menu/ide_menu.rs b/src/menu/ide_menu.rs index 6d0c6369..c2ef4b64 100644 --- a/src/menu/ide_menu.rs +++ b/src/menu/ide_menu.rs @@ -1473,6 +1473,7 @@ mod tests { Suggestion { value: name.to_string(), description: None, + style: None, extra: None, span: Span { start: 0, end: pos }, append_whitespace: false,