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::string::String;
use std::borrow::ToOwned;
use super::invoke::{Invoke, Identity}; use super::invoke::{Invoke, Identity};
use elements; use elements;

View File

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

View File

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

View File

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

View File

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