Update for syn master

This commit is contained in:
Alex Crichton 2018-01-02 12:30:47 -08:00
parent b2ce19bd3c
commit 5c0f9613f6
2 changed files with 0 additions and 3 deletions

View File

@ -139,7 +139,6 @@ impl Function {
}
let arguments = decl.inputs.iter()
.map(|i| i.into_item())
.map(|arg| {
match *arg {
syn::FnArg::Captured(ref c) => c,
@ -336,7 +335,6 @@ impl Struct {
let mut mutable = None;
let arguments = method.sig.decl.inputs.iter()
.map(|i| i.into_item())
.filter_map(|arg| {
match *arg {
syn::FnArg::Captured(ref c) => Some(c),

View File

@ -429,7 +429,6 @@ fn bindgen_import(import: &ast::Import, tokens: &mut Tokens) {
let names = import.decl.inputs
.iter()
.map(|i| i.into_item())
.map(|arg| {
match *arg {
syn::FnArg::Captured(ref c) => c,