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

@@ -14,12 +14,10 @@
#![no_std]
#[macro_use]
extern crate alloc;
extern crate crypto;
extern crate lang_items;
extern crate libtock_drivers;
use alloc::format;
use alloc::vec::Vec;
use core::fmt::Write;
use crypto::{

View File

@@ -15,9 +15,7 @@
#![no_std]
extern crate alloc;
extern crate crypto;
extern crate lang_items;
extern crate libtock_drivers;
use alloc::vec::Vec;
use core::fmt::Write;

View File

@@ -14,10 +14,7 @@
#![no_std]
extern crate alloc;
extern crate crypto;
extern crate lang_items;
extern crate libtock_drivers;
fn main() {
panic!("Bye world!")