Use nested imports

This commit is contained in:
Jonas Platte 2019-01-13 21:13:18 +01:00
parent 586bca680d
commit f95b4b05bb
2 changed files with 2 additions and 2 deletions

1
.rustfmt.toml Normal file
View File

@ -0,0 +1 @@
merge_imports = true

View File

@ -78,8 +78,7 @@ pub mod send_state_event_for_key {
/// [PUT /_matrix/client/r0/rooms/{roomId}/send/{eventType}/{txnId}](https://matrix.org/docs/spec/client_server/r0.2.0.html#put-matrix-client-r0-rooms-roomid-send-eventtype-txnid)
pub mod send_message_event {
use ruma_api_macros::ruma_api;
use ruma_events::room::message::MessageEventContent;
use ruma_events::EventType;
use ruma_events::{room::message::MessageEventContent, EventType};
use ruma_identifiers::{EventId, RoomId};
ruma_api! {