From d21580a3c0a5203867a87405a9305a9709d3918e Mon Sep 17 00:00:00 2001 From: Junfeng Li Date: Thu, 11 Apr 2019 18:24:38 -0700 Subject: [PATCH] clippy. --- src/language_server_protocol.rs | 2 +- src/vim.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/language_server_protocol.rs b/src/language_server_protocol.rs index d0bf91a37..a800a95a7 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 c75168a01..842f13636 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",