diff --git a/crates/tabby/src/serve/completions/prompt.rs b/crates/tabby/src/serve/completions/prompt.rs index b2eeda8ec7f3..b16cbbdd6060 100644 --- a/crates/tabby/src/serve/completions/prompt.rs +++ b/crates/tabby/src/serve/completions/prompt.rs @@ -43,13 +43,7 @@ impl PromptBuilder { pub async fn collect(&self, language: &str, segments: &Segments) -> Vec { if let Some(code) = &self.code { - collect_snippets( - &self.schema, - code.as_ref(), - language, - &segments.prefix, - ) - .await + collect_snippets(&self.schema, code.as_ref(), language, &segments.prefix).await } else { vec![] }