Merge pull request #14 from ruma/import-fix

Fix trait imports in generated code without rename
This commit is contained in:
Jimmy Cuadra 2019-01-31 18:01:26 -08:00 committed by GitHub
commit 4396affedb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -329,8 +329,8 @@ impl ToTokens for Api {
#[allow(unused_imports)]
use ::futures::{Future as _Future, IntoFuture as _IntoFuture, Stream as _Stream};
use ::ruma_api::Endpoint as _RumaApiEndpoint;
use ::serde::Deserialize;
use ::serde::de::{Error as _SerdeError, IntoDeserializer};
use ::serde::Deserialize as _Deserialize;
use ::serde::de::{Error as _SerdeError, IntoDeserializer as _IntoDeserializer};
use ::std::convert::{TryInto as _TryInto};