diff --git a/ethcore/src/lib.rs b/ethcore/src/lib.rs index 0b62ec4fb..f443647bd 100644 --- a/ethcore/src/lib.rs +++ b/ethcore/src/lib.rs @@ -27,6 +27,10 @@ #![cfg_attr(feature="dev", allow(clone_on_copy))] // In most cases it expresses function flow better #![cfg_attr(feature="dev", allow(if_not_else))] +// TODO [todr] a lot of warnings to be fixed +#![cfg_attr(feature="dev", allow(needless_borrow))] +#![cfg_attr(feature="dev", allow(assign_op_pattern))] + //! Ethcore library //! diff --git a/util/src/lib.rs b/util/src/lib.rs index a97282198..a8f74b5a4 100644 --- a/util/src/lib.rs +++ b/util/src/lib.rs @@ -29,6 +29,10 @@ #![cfg_attr(feature="dev", allow(clone_on_copy))] // In most cases it expresses function flow better #![cfg_attr(feature="dev", allow(if_not_else))] +// TODO [todr] a lot of warnings to be fixed +#![cfg_attr(feature="dev", allow(needless_borrow))] +#![cfg_attr(feature="dev", allow(assign_op_pattern))] + //! Ethcore-util library //!