diff options
Diffstat (limited to 'crates/gen_lsp_server/src')
-rw-r--r-- | crates/gen_lsp_server/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/gen_lsp_server/src/lib.rs b/crates/gen_lsp_server/src/lib.rs index 7ecef83cb..0984e3e25 100644 --- a/crates/gen_lsp_server/src/lib.rs +++ b/crates/gen_lsp_server/src/lib.rs | |||
@@ -130,7 +130,7 @@ fn initialize( | |||
130 | Ok(RawMessage::Notification(n)) => { | 130 | Ok(RawMessage::Notification(n)) => { |
131 | n.cast::<Initialized>().map_err(|_| "expected initialized notification")?; | 131 | n.cast::<Initialized>().map_err(|_| "expected initialized notification")?; |
132 | } | 132 | } |
133 | _ => Err(format!("expected initialized notification"))?, | 133 | _ => Err("expected initialized notification".to_string())?, |
134 | } | 134 | } |
135 | Ok(params) | 135 | Ok(params) |
136 | } | 136 | } |