From cad14c6b46413b23d3afee7c979eeb0dbd4fb84c Mon Sep 17 00:00:00 2001 From: Blaž Hrastnik Date: Sun, 27 Jun 2021 13:27:35 +0900 Subject: Address nightly clippy warnings --- helix-lsp/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'helix-lsp') diff --git a/helix-lsp/src/lib.rs b/helix-lsp/src/lib.rs index b25a7aca..e4ab153c 100644 --- a/helix-lsp/src/lib.rs +++ b/helix-lsp/src/lib.rs @@ -326,7 +326,7 @@ impl ProgressStatus { pub fn progress(&self) -> Option<&lsp::WorkDoneProgress> { match &self { ProgressStatus::Created => None, - ProgressStatus::Started(progress) => Some(&progress), + ProgressStatus::Started(progress) => Some(progress), } } } -- cgit v1.2.3-70-g09d2