From d044bc35042881e26427034bbf2c48b63acf187a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maria=20Jos=C3=A9=20Solano?= Date: Thu, 19 Jan 2023 18:33:47 -0800 Subject: [PATCH] Format code --- crates/ide-completion/src/config.rs | 2 +- crates/rust-analyzer/src/integrated_benchmarks.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/ide-completion/src/config.rs b/crates/ide-completion/src/config.rs index d0e3eb4fde..8f6a97e1e0 100644 --- a/crates/ide-completion/src/config.rs +++ b/crates/ide-completion/src/config.rs @@ -19,7 +19,7 @@ pub struct CompletionConfig { pub insert_use: InsertUseConfig, pub prefer_no_std: bool, pub snippets: Vec, - pub limit: Option + pub limit: Option, } #[derive(Clone, Debug, PartialEq, Eq)] diff --git a/crates/rust-analyzer/src/integrated_benchmarks.rs b/crates/rust-analyzer/src/integrated_benchmarks.rs index ce5fe207a9..7c13d9bad2 100644 --- a/crates/rust-analyzer/src/integrated_benchmarks.rs +++ b/crates/rust-analyzer/src/integrated_benchmarks.rs @@ -146,7 +146,7 @@ fn integrated_completion_benchmark() { }, snippets: Vec::new(), prefer_no_std: false, - limit: None + limit: None, }; let position = FilePosition { file_id, offset: TextSize::try_from(completion_offset).unwrap() }; @@ -185,7 +185,7 @@ fn integrated_completion_benchmark() { }, snippets: Vec::new(), prefer_no_std: false, - limit: None + limit: None, }; let position = FilePosition { file_id, offset: TextSize::try_from(completion_offset).unwrap() };