fix all warnings

This commit is contained in:
NikVolf 2016-06-30 21:00:52 +03:00
parent cdd1c6dd90
commit ba38cc0ccc
4 changed files with 5 additions and 3 deletions

View File

@ -16,5 +16,5 @@
//! Blockchain database client.
#![allow(dead_code, unused_assignments, unused_variables)] // codegen issues
#![allow(dead_code, unused_assignments, unused_variables, missing_docs)] // codegen issues
include!(concat!(env!("OUT_DIR"), "/client.ipc.rs"));

View File

@ -22,6 +22,7 @@ use std::collections::VecDeque;
use error::{ImportError, BlockError, Error};
use std::convert::From;
/// Error dedicated to import block function
#[derive(Binary, Debug)]
pub enum BlockImportError {
/// Import error

View File

@ -20,7 +20,7 @@ use std::mem;
use ipc::binary::{BinaryConvertError, BinaryConvertable};
use std::collections::VecDeque;
use std::ops::Range;
use util::{Address, H256};
use util::{Address};
use types::ids::BlockID;
/// Easy to use trace filter.

View File

@ -14,7 +14,8 @@
// You should have received a copy of the GNU General Public License
// along with Parity. If not, see <http://www.gnu.org/licenses/>.
use std::mem;
//! Transaction import result related types
use ipc::binary::BinaryConvertError;
use std::collections::VecDeque;