summaryrefslogtreecommitdiff
path: root/helix-lsp/src
diff options
context:
space:
mode:
authorBlaž Hrastnik2021-06-27 04:27:35 +0000
committerBlaž Hrastnik2021-06-27 04:27:47 +0000
commitcad14c6b46413b23d3afee7c979eeb0dbd4fb84c (patch)
treebb50d665f233f2eb7589ad75f65c6266b42eb87d /helix-lsp/src
parented1a745442a88804fd193a8a5d946377516cf39d (diff)
Address nightly clippy warnings
Diffstat (limited to 'helix-lsp/src')
-rw-r--r--helix-lsp/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
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),
}
}
}