From e049e454232b961d27d83e855048cc4c187abc47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Commaille?= Date: Wed, 7 Apr 2021 12:15:37 +0200 Subject: [PATCH] docs: Add missing dots --- ruma-common/src/directory.rs | 2 +- ruma-common/src/power_levels.rs | 2 +- ruma-common/src/presence.rs | 2 +- ruma-common/src/push.rs | 2 +- ruma-common/src/thirdparty.rs | 2 +- ruma-identifiers/src/device_key_id.rs | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) 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,