Add explicit ToOwned imports.

This commit is contained in:
Sergey Pepyakin 2018-05-11 19:06:11 +03:00
parent eec09f24f3
commit c4e7918a96
5 changed files with 7 additions and 2 deletions

View File

@ -1,4 +1,5 @@
use std::string::String;
use std::borrow::ToOwned;
use super::invoke::{Invoke, Identity};
use elements;

View File

@ -1,6 +1,7 @@
use std::string::String;
use super::invoke::{Invoke, Identity};
use super::invoke::{Identity, Invoke};
use elements;
use std::borrow::ToOwned;
use std::string::String;
/// Import builder
pub struct ImportBuilder<F=Identity> {

View File

@ -1,5 +1,6 @@
use io;
use std::vec::Vec;
use std::borrow::ToOwned;
use byteorder::{LittleEndian, ByteOrder};
use super::{Deserialize, Serialize, Error, Uint32, External};

View File

@ -1,6 +1,7 @@
use io;
use std::vec::Vec;
use std::string::String;
use std::borrow::ToOwned;
use super::{
Serialize,
Deserialize,

View File

@ -36,4 +36,5 @@ mod std {
pub use alloc::vec;
pub use alloc::string;
pub use alloc::boxed;
pub use alloc::borrow;
}