Skip to content

Commit 063e2e1

Browse files
committed
fix: unused
1 parent 4c8b942 commit 063e2e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/pg_lsp/src/server/dispatch.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ impl NotificationDispatcher {
1717
N::Params: DeserializeOwned,
1818
F: FnOnce(N::Params) -> Result<()>,
1919
{
20-
if let Some(_not) = self.not {
20+
if let Some(not) = self.not {
2121
match not.extract::<N::Params>(N::METHOD) {
2222
Ok(params) => {
2323
handler(params)?;
@@ -35,7 +35,7 @@ impl NotificationDispatcher {
3535
}
3636

3737
pub fn default(self) {
38-
if let Some(not) = &self.not {
38+
if let Some(_not) = &self.not {
3939
// log::warn!("Unknown notification: {}", not.method);
4040
}
4141
}

0 commit comments

Comments
 (0)