From 4ad9e986ad05e404df73701c098b71f73a847ca6 Mon Sep 17 00:00:00 2001 From: Jeremy Kolb Date: Thu, 4 Jul 2019 13:26:44 -0400 Subject: Some clippy fixes for 1.36 --- crates/gen_lsp_server/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/gen_lsp_server') 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( Ok(RawMessage::Notification(n)) => { n.cast::().map_err(|_| "expected initialized notification")?; } - _ => Err(format!("expected initialized notification"))?, + _ => Err("expected initialized notification".to_string())?, } Ok(params) } -- cgit v1.2.3