Fix docs for DeviceId

This commit is contained in:
Jonas Platte 2020-08-08 22:24:40 +02:00
parent 1fbf05d71f
commit 1f056b4ba7
No known key found for this signature in database
GPG Key ID: 7D261D771D915378

View File

@ -10,8 +10,8 @@ use crate::generate_localpart;
/// A Matrix device ID.
///
/// Device identifiers in Matrix are completely opaque character sequences. This type alias is
/// provided simply for its semantic value.
/// Device identifiers in Matrix are completely opaque character sequences. This type is provided
/// simply for its semantic value.
#[repr(transparent)]
#[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)]
#[cfg_attr(feature = "serde", derive(serde1::Serialize), serde(transparent, crate = "serde1"))]