diff --git a/src/language_server_protocol.rs b/src/language_server_protocol.rs index d0bf91a3..a800a95a 100644 --- a/src/language_server_protocol.rs +++ b/src/language_server_protocol.rs @@ -296,7 +296,7 @@ impl LanguageClient { text_document: TextDocumentIdentifier { uri: filename.to_url()?, }, - position: position, + position, }, )?; diff --git a/src/vim.rs b/src/vim.rs index c75168a0..842f1363 100644 --- a/src/vim.rs +++ b/src/vim.rs @@ -211,8 +211,8 @@ impl Vim { pub fn set_signs( &self, filename: &str, - signs_to_add: &Vec, - signs_to_delete: &Vec, + signs_to_add: &[Sign], + signs_to_delete: &[Sign], ) -> Fallible { self.rpcclient.call( "s:set_signs",