mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-01-02 09:31:13 +01:00
fix(build): remove compiler warnings.
Also, a build issue was fixed when schemas were no objects. However, I think I will have to check this one anyway
This commit is contained in:
@@ -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;
|
||||
@@ -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};
|
||||
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
###################################################################################################################
|
||||
<%def name="new(s, c)">\
|
||||
<%
|
||||
assert s.type == "object"
|
||||
markers = schema_markers(s, c)
|
||||
%>\
|
||||
<%block filter="rust_doc_comment">\
|
||||
|
||||
Reference in New Issue
Block a user