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;
|
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 convert;
|
||||||
pub mod engine;
|
pub mod engine;
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
#![feature(proc_macro_hygiene)]
|
#![feature(proc_macro_hygiene)]
|
||||||
#![allow(dead_code)]
|
#![allow(dead_code)]
|
||||||
|
|
||||||
#[macro_use]
|
|
||||||
extern crate maple;
|
extern crate maple;
|
||||||
extern crate maple_stdweb_dom;
|
extern crate maple_stdweb_dom;
|
||||||
|
|
||||||
|
@ -6,8 +6,6 @@ mod tag;
|
|||||||
|
|
||||||
#[macro_use]
|
#[macro_use]
|
||||||
extern crate syn;
|
extern crate syn;
|
||||||
|
|
||||||
#[macro_use]
|
|
||||||
extern crate quote;
|
extern crate quote;
|
||||||
extern crate proc_macro;
|
extern crate proc_macro;
|
||||||
|
|
||||||
@ -17,7 +15,6 @@ use quote::*;
|
|||||||
|
|
||||||
use self::node::Node;
|
use self::node::Node;
|
||||||
use self::attribute::{Attribute, AttributeValue};
|
use self::attribute::{Attribute, AttributeValue};
|
||||||
use self::tag::Tag;
|
|
||||||
|
|
||||||
fn visit_attribute(ident: &Ident, attr: &Attribute, _ctx: &TypePath) -> impl ToTokens {
|
fn visit_attribute(ident: &Ident, attr: &Attribute, _ctx: &TypePath) -> impl ToTokens {
|
||||||
let attr_name = &attr.name;
|
let attr_name = &attr.name;
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
use syn::parse::{Parse, ParseStream, Result};
|
use syn::parse::{Parse, ParseStream, Result};
|
||||||
use quote::ToTokens;
|
|
||||||
|
|
||||||
use crate::tag::Tag;
|
use crate::tag::Tag;
|
||||||
|
|
||||||
#[derive(Debug)]
|
#[derive(Debug)]
|
||||||
|
@ -14,8 +14,8 @@ impl Parse for Tag {
|
|||||||
fn parse(input: ParseStream) -> Result<Self> {
|
fn parse(input: ParseStream) -> Result<Self> {
|
||||||
let mut attrs: Vec<Attribute> = Vec::new();
|
let mut attrs: Vec<Attribute> = Vec::new();
|
||||||
let mut children: Vec<Node> = Vec::new();
|
let mut children: Vec<Node> = Vec::new();
|
||||||
let mut open_path: TypePath;
|
let open_path: TypePath;
|
||||||
let mut close_path: TypePath;
|
let close_path: TypePath;
|
||||||
|
|
||||||
// parsing opening "<"
|
// parsing opening "<"
|
||||||
input.parse::<Token![<]>()?;
|
input.parse::<Token![<]>()?;
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
#[macro_use]
|
|
||||||
extern crate maple_core;
|
extern crate maple_core;
|
||||||
|
|
||||||
pub mod prelude {
|
pub mod prelude {
|
||||||
|
Loading…
Reference in New Issue
Block a user