Consistently put an empty line after inner module docs
This commit is contained in:
parent
21eb1e8e41
commit
01c7eef72f
@ -9,6 +9,7 @@
|
|||||||
//! input parameters for requests, and the structure of a successful response.
|
//! input parameters for requests, and the structure of a successful response.
|
||||||
//! Such types can then be used by client code to make requests, and by server code to fulfill
|
//! Such types can then be used by client code to make requests, and by server code to fulfill
|
||||||
//! those requests.
|
//! those requests.
|
||||||
|
|
||||||
#![doc(html_favicon_url = "https://www.ruma.io/favicon.ico")]
|
#![doc(html_favicon_url = "https://www.ruma.io/favicon.ico")]
|
||||||
#![warn(rust_2018_idioms)]
|
#![warn(rust_2018_idioms)]
|
||||||
#![deny(missing_copy_implementations, missing_debug_implementations, missing_docs)]
|
#![deny(missing_copy_implementations, missing_debug_implementations, missing_docs)]
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
//! PUT /_matrix/client/r0/directory/room/:room_alias
|
//! PUT /_matrix/client/r0/directory/room/:room_alias
|
||||||
|
|
||||||
use std::{convert::TryFrom, ops::Deref};
|
use std::{convert::TryFrom, ops::Deref};
|
||||||
|
|
||||||
use http::{header::CONTENT_TYPE, method::Method};
|
use http::{header::CONTENT_TYPE, method::Method};
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
//! Crate ruma_appservice_api contains serializable types for the requests and responses for each
|
//! Crate ruma_appservice_api contains serializable types for the requests and responses for each
|
||||||
//! endpoint in the [Matrix](https://matrix.org/) application service API specification. These
|
//! endpoint in the [Matrix](https://matrix.org/) application service API specification. These
|
||||||
//! types can be shared by application service and server code.
|
//! types can be shared by application service and server code.
|
||||||
|
|
||||||
#![warn(missing_copy_implementations, missing_debug_implementations, missing_docs)]
|
#![warn(missing_copy_implementations, missing_debug_implementations, missing_docs)]
|
||||||
|
|
||||||
pub mod event;
|
pub mod event;
|
||||||
|
@ -6,6 +6,7 @@
|
|||||||
//!
|
//!
|
||||||
//! [invite-by-user-id]: https://matrix.org/docs/spec/client_server/r0.6.0#post-matrix-client-r0-rooms-roomid-invite
|
//! [invite-by-user-id]: https://matrix.org/docs/spec/client_server/r0.6.0#post-matrix-client-r0-rooms-roomid-invite
|
||||||
//! [invite-by-3pid]: https://matrix.org/docs/spec/client_server/r0.6.0#id101
|
//! [invite-by-3pid]: https://matrix.org/docs/spec/client_server/r0.6.0#id101
|
||||||
|
|
||||||
use ruma_api::ruma_api;
|
use ruma_api::ruma_api;
|
||||||
use ruma_identifiers::{RoomId, UserId};
|
use ruma_identifiers::{RoomId, UserId};
|
||||||
use serde::{Deserialize, Serialize};
|
use serde::{Deserialize, Serialize};
|
||||||
|
@ -1,2 +1,3 @@
|
|||||||
//! Endpoint to retrieve the complete auth chain for a given event.
|
//! Endpoint to retrieve the complete auth chain for a given event.
|
||||||
|
|
||||||
pub mod v1;
|
pub mod v1;
|
||||||
|
@ -1,2 +1,3 @@
|
|||||||
//! Endpoints to retrieve information about user devices
|
//! Endpoints to retrieve information about user devices
|
||||||
|
|
||||||
pub mod get_devices;
|
pub mod get_devices;
|
||||||
|
@ -1,2 +1,3 @@
|
|||||||
//! Endpoint to get information about a user's devices
|
//! Endpoint to get information about a user's devices
|
||||||
|
|
||||||
pub mod v1;
|
pub mod v1;
|
||||||
|
@ -1,2 +1,3 @@
|
|||||||
//! Endpoint to query profile information with a user id and optional field.
|
//! Endpoint to query profile information with a user id and optional field.
|
||||||
|
|
||||||
pub mod v1;
|
pub mod v1;
|
||||||
|
@ -1,2 +1,3 @@
|
|||||||
//! Endpoint to query room information with a room alias.
|
//! Endpoint to query room information with a room alias.
|
||||||
|
|
||||||
pub mod v1;
|
pub mod v1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user