fix all warnings
This commit is contained in:
parent
cdd1c6dd90
commit
ba38cc0ccc
@ -16,5 +16,5 @@
|
|||||||
|
|
||||||
//! Blockchain database client.
|
//! 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"));
|
include!(concat!(env!("OUT_DIR"), "/client.ipc.rs"));
|
||||||
|
@ -22,6 +22,7 @@ use std::collections::VecDeque;
|
|||||||
use error::{ImportError, BlockError, Error};
|
use error::{ImportError, BlockError, Error};
|
||||||
use std::convert::From;
|
use std::convert::From;
|
||||||
|
|
||||||
|
/// Error dedicated to import block function
|
||||||
#[derive(Binary, Debug)]
|
#[derive(Binary, Debug)]
|
||||||
pub enum BlockImportError {
|
pub enum BlockImportError {
|
||||||
/// Import error
|
/// Import error
|
||||||
|
@ -20,7 +20,7 @@ use std::mem;
|
|||||||
use ipc::binary::{BinaryConvertError, BinaryConvertable};
|
use ipc::binary::{BinaryConvertError, BinaryConvertable};
|
||||||
use std::collections::VecDeque;
|
use std::collections::VecDeque;
|
||||||
use std::ops::Range;
|
use std::ops::Range;
|
||||||
use util::{Address, H256};
|
use util::{Address};
|
||||||
use types::ids::BlockID;
|
use types::ids::BlockID;
|
||||||
|
|
||||||
/// Easy to use trace filter.
|
/// Easy to use trace filter.
|
||||||
|
@ -14,7 +14,8 @@
|
|||||||
// You should have received a copy of the GNU General Public License
|
// You should have received a copy of the GNU General Public License
|
||||||
// along with Parity. If not, see <http://www.gnu.org/licenses/>.
|
// along with Parity. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
use std::mem;
|
//! Transaction import result related types
|
||||||
|
|
||||||
use ipc::binary::BinaryConvertError;
|
use ipc::binary::BinaryConvertError;
|
||||||
use std::collections::VecDeque;
|
use std::collections::VecDeque;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user