diff --git a/ruma-common/src/directory.rs b/ruma-common/src/directory.rs index 30cb0779..81757993 100644 --- a/ruma-common/src/directory.rs +++ b/ruma-common/src/directory.rs @@ -1,4 +1,4 @@ -//! Common types for room directory endpoints +//! Common types for room directory endpoints. use std::fmt; diff --git a/ruma-common/src/power_levels.rs b/ruma-common/src/power_levels.rs index ecc8fa64..373a5b05 100644 --- a/ruma-common/src/power_levels.rs +++ b/ruma-common/src/power_levels.rs @@ -1,4 +1,4 @@ -//! Common types for the [`m.room.power_levels` event][power_levels] +//! Common types for the [`m.room.power_levels` event][power_levels]. //! //! [power_levels]: https://matrix.org/docs/spec/client_server/r0.6.1#m-room-power-levels diff --git a/ruma-common/src/presence.rs b/ruma-common/src/presence.rs index 94a138e0..ccf2212c 100644 --- a/ruma-common/src/presence.rs +++ b/ruma-common/src/presence.rs @@ -1,4 +1,4 @@ -//! Common types for the [presence module][presence] +//! Common types for the [presence module][presence]. //! //! [presence]: https://matrix.org/docs/spec/client_server/r0.6.1#id62 diff --git a/ruma-common/src/push.rs b/ruma-common/src/push.rs index cb52db76..41f58477 100644 --- a/ruma-common/src/push.rs +++ b/ruma-common/src/push.rs @@ -1,4 +1,4 @@ -//! Common types for the [push notifications module][push] +//! Common types for the [push notifications module][push]. //! //! [push]: https://matrix.org/docs/spec/client_server/r0.6.1#id89 //! diff --git a/ruma-common/src/thirdparty.rs b/ruma-common/src/thirdparty.rs index 2db8199e..1453cd86 100644 --- a/ruma-common/src/thirdparty.rs +++ b/ruma-common/src/thirdparty.rs @@ -1,4 +1,4 @@ -//! Common types for the [third party networks module][thirdparty] +//! Common types for the [third party networks module][thirdparty]. //! //! [thirdparty]: https://matrix.org/docs/spec/client_server/r0.6.1#id153 diff --git a/ruma-identifiers/src/device_key_id.rs b/ruma-identifiers/src/device_key_id.rs index a5f29e26..28c406f3 100644 --- a/ruma-identifiers/src/device_key_id.rs +++ b/ruma-identifiers/src/device_key_id.rs @@ -4,7 +4,7 @@ use std::{convert::TryInto, fmt, num::NonZeroU8}; use crate::{crypto_algorithms::DeviceKeyAlgorithm, DeviceId, Error}; -/// A key algorithm and a device id, combined with a ':' +/// A key algorithm and a device id, combined with a ':'. #[derive(Clone)] pub struct DeviceKeyId { full_id: Box,