Fix warnings
This commit is contained in:
parent
8e67c1a054
commit
0ae487e4de
@ -23,7 +23,7 @@ impl<A, M, CB> Callback for Callback1<A, M, CB>
|
||||
{
|
||||
type Arg = A;
|
||||
|
||||
fn call(&self, arg: Self::Arg) {
|
||||
fn call(&self, _arg: Self::Arg) {
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
#![feature(proc_macro, associated_type_defaults, never_type, unsize, specialization)]
|
||||
#![feature(associated_type_defaults, never_type, unsize, specialization)]
|
||||
|
||||
pub mod convert;
|
||||
pub mod engine;
|
||||
|
@ -1,7 +1,6 @@
|
||||
#![feature(proc_macro_hygiene)]
|
||||
#![allow(dead_code)]
|
||||
|
||||
#[macro_use]
|
||||
extern crate maple;
|
||||
extern crate maple_stdweb_dom;
|
||||
|
||||
|
@ -6,8 +6,6 @@ mod tag;
|
||||
|
||||
#[macro_use]
|
||||
extern crate syn;
|
||||
|
||||
#[macro_use]
|
||||
extern crate quote;
|
||||
extern crate proc_macro;
|
||||
|
||||
@ -17,7 +15,6 @@ use quote::*;
|
||||
|
||||
use self::node::Node;
|
||||
use self::attribute::{Attribute, AttributeValue};
|
||||
use self::tag::Tag;
|
||||
|
||||
fn visit_attribute(ident: &Ident, attr: &Attribute, _ctx: &TypePath) -> impl ToTokens {
|
||||
let attr_name = &attr.name;
|
||||
|
@ -1,6 +1,4 @@
|
||||
use syn::parse::{Parse, ParseStream, Result};
|
||||
use quote::ToTokens;
|
||||
|
||||
use crate::tag::Tag;
|
||||
|
||||
#[derive(Debug)]
|
||||
|
@ -14,8 +14,8 @@ impl Parse for Tag {
|
||||
fn parse(input: ParseStream) -> Result<Self> {
|
||||
let mut attrs: Vec<Attribute> = Vec::new();
|
||||
let mut children: Vec<Node> = Vec::new();
|
||||
let mut open_path: TypePath;
|
||||
let mut close_path: TypePath;
|
||||
let open_path: TypePath;
|
||||
let close_path: TypePath;
|
||||
|
||||
// parsing opening "<"
|
||||
input.parse::<Token![<]>()?;
|
||||
|
@ -1,4 +1,3 @@
|
||||
#[macro_use]
|
||||
extern crate maple_core;
|
||||
|
||||
pub mod prelude {
|
||||
|
Loading…
Reference in New Issue
Block a user