Use nested imports
This commit is contained in:
parent
586bca680d
commit
f95b4b05bb
1
.rustfmt.toml
Normal file
1
.rustfmt.toml
Normal file
@ -0,0 +1 @@
|
||||
merge_imports = true
|
@ -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! {
|
||||
|
Loading…
x
Reference in New Issue
Block a user