Skip to content

Commit

Permalink
fix(build): remove compiler warnings.
Browse files Browse the repository at this point in the history
Also, a build issue was fixed when schemas were no objects.
However, I think I will have to check this one anyway
  • Loading branch information
Byron committed Mar 11, 2015
1 parent bfc3922 commit 559cb8f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 5 additions & 1 deletion src/mako/lib.rs.mako
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ ${lib.docs(c)}
#![feature(core,io)]
// DEBUG !! TODO: Remove this
#![allow(dead_code)]
// We don't warn about this, as depending on the API, some data structures or facilities are never used.
// Instead of pre-determining this, we just disable the lint. It's manually tuned to not have any
// unused imports in fully featured APIs
#![allow(unused_imports)]


extern crate hyper;
Expand All @@ -40,9 +44,9 @@ use std::marker::PhantomData;
use std::borrow::BorrowMut;
use std::cell::RefCell;
use std::default::Default;
use std::collections::BTreeMap;
use std::io;
use std::fs;
use std::collections::BTreeMap;

pub use cmn::{Hub, ReadSeek, Part, ResponseResult, RequestValue, NestedType, Delegate, DefaultDelegate};

Expand Down
1 change: 0 additions & 1 deletion src/mako/lib/schema.mako
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
###################################################################################################################
<%def name="new(s, c)">\
<%
assert s.type == "object"
markers = schema_markers(s, c)
%>\
<%block filter="rust_doc_comment">\
Expand Down

0 comments on commit 559cb8f

Please sign in to comment.