diff options
author | Jeremy Kolb <[email protected]> | 2019-07-04 18:26:44 +0100 |
---|---|---|
committer | Jeremy Kolb <[email protected]> | 2019-07-04 22:43:00 +0100 |
commit | 4ad9e986ad05e404df73701c098b71f73a847ca6 (patch) | |
tree | 2a2b2cc9dbee07d0aa92df883c807edbab264a85 /crates/gen_lsp_server | |
parent | c6a6e43372de9530ec7df0f38352466ed107e1a2 (diff) |
Some clippy fixes for 1.36
Diffstat (limited to 'crates/gen_lsp_server')
-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 | } |