fixup
This commit is contained in:
parent
d7463ce37d
commit
05d0a3c04b
@ -3,6 +3,7 @@
|
|||||||
//! The only content valid for this event is `PresenceEventContent.
|
//! The only content valid for this event is `PresenceEventContent.
|
||||||
|
|
||||||
use js_int::UInt;
|
use js_int::UInt;
|
||||||
|
use ruma_common::presence::PresenceState;
|
||||||
use ruma_events_macros::{Event, EventContent};
|
use ruma_events_macros::{Event, EventContent};
|
||||||
use ruma_identifiers::UserId;
|
use ruma_identifiers::UserId;
|
||||||
use serde::{Deserialize, Serialize};
|
use serde::{Deserialize, Serialize};
|
||||||
@ -54,10 +55,11 @@ mod tests {
|
|||||||
|
|
||||||
use js_int::uint;
|
use js_int::uint;
|
||||||
use matches::assert_matches;
|
use matches::assert_matches;
|
||||||
|
use ruma_common::presence::PresenceState;
|
||||||
use ruma_identifiers::UserId;
|
use ruma_identifiers::UserId;
|
||||||
use serde_json::{from_value as from_json_value, json, to_value as to_json_value};
|
use serde_json::{from_value as from_json_value, json, to_value as to_json_value};
|
||||||
|
|
||||||
use super::{PresenceEvent, PresenceEventContent, PresenceState};
|
use super::{PresenceEvent, PresenceEventContent};
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn serialization() {
|
fn serialization() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user