Migrate import statements and macros to Rust 2018.

This commit is contained in:
Guillaume Endignoux
2020-09-23 13:47:20 +02:00
parent 55c9053baf
commit 85a34ad085
35 changed files with 81 additions and 70 deletions

View File

@@ -13,6 +13,7 @@
// limitations under the License.
use super::{Hash256, HashBlockSize64Bytes};
use arrayref::{array_mut_ref, array_ref};
use byteorder::{BigEndian, ByteOrder};
use core::num::Wrapping;
@@ -210,7 +211,6 @@ impl Sha256 {
#[cfg(test)]
mod test {
use super::*;
extern crate hex;
#[test]
fn test_choice() {