Skip to content

Commit

Permalink
clippy.
Browse files Browse the repository at this point in the history
  • Loading branch information
autozimu committed Apr 17, 2019
1 parent 8563e51 commit d21580a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/language_server_protocol.rs
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ impl LanguageClient {
text_document: TextDocumentIdentifier {
uri: filename.to_url()?,
},
position: position,
position,
},
)?;

Expand Down
4 changes: 2 additions & 2 deletions src/vim.rs
Original file line number Diff line number Diff line change
Expand Up @@ -211,8 +211,8 @@ impl Vim {
pub fn set_signs(
&self,
filename: &str,
signs_to_add: &Vec<Sign>,
signs_to_delete: &Vec<Sign>,
signs_to_add: &[Sign],
signs_to_delete: &[Sign],
) -> Fallible<i8> {
self.rpcclient.call(
"s:set_signs",
Expand Down

0 comments on commit d21580a

Please sign in to comment.