We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c8b942 commit 063e2e1Copy full SHA for 063e2e1
crates/pg_lsp/src/server/dispatch.rs
@@ -17,7 +17,7 @@ impl NotificationDispatcher {
17
N::Params: DeserializeOwned,
18
F: FnOnce(N::Params) -> Result<()>,
19
{
20
- if let Some(_not) = self.not {
+ if let Some(not) = self.not {
21
match not.extract::<N::Params>(N::METHOD) {
22
Ok(params) => {
23
handler(params)?;
@@ -35,7 +35,7 @@ impl NotificationDispatcher {
35
}
36
37
pub fn default(self) {
38
- if let Some(not) = &self.not {
+ if let Some(_not) = &self.not {
39
// log::warn!("Unknown notification: {}", not.method);
40
41
0 commit comments