Merge pull request #14 from ruma/import-fix
Fix trait imports in generated code without rename
This commit is contained in:
commit
4396affedb
@ -329,8 +329,8 @@ impl ToTokens for Api {
|
|||||||
#[allow(unused_imports)]
|
#[allow(unused_imports)]
|
||||||
use ::futures::{Future as _Future, IntoFuture as _IntoFuture, Stream as _Stream};
|
use ::futures::{Future as _Future, IntoFuture as _IntoFuture, Stream as _Stream};
|
||||||
use ::ruma_api::Endpoint as _RumaApiEndpoint;
|
use ::ruma_api::Endpoint as _RumaApiEndpoint;
|
||||||
use ::serde::Deserialize;
|
use ::serde::Deserialize as _Deserialize;
|
||||||
use ::serde::de::{Error as _SerdeError, IntoDeserializer};
|
use ::serde::de::{Error as _SerdeError, IntoDeserializer as _IntoDeserializer};
|
||||||
|
|
||||||
use ::std::convert::{TryInto as _TryInto};
|
use ::std::convert::{TryInto as _TryInto};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user