docs: Fix warning during docs build

This commit is contained in:
Kévin Commaille 2021-04-07 17:08:51 +02:00
parent d3ee7c4d74
commit 99b89c8267
No known key found for this signature in database
GPG Key ID: 483BCF4C5AF1E1E5
2 changed files with 3 additions and 3 deletions

View File

@ -15,7 +15,7 @@ ruma_api! {
request: { request: {
/// The URLs the user is accepting in this request. /// The URLs the user is accepting in this request.
/// ///
/// An example is "https://example.org/somewhere/terms-2.0-en.html". /// An example is `https://example.org/somewhere/terms-2.0-en.html`.
pub user_accepts: Vec<String>, pub user_accepts: Vec<String>,
} }

View File

@ -67,7 +67,7 @@ pub struct LocalizedPolicy {
/// The URL at wich the policy is available. /// The URL at wich the policy is available.
/// ///
/// Examples are "https://example.org/somewhere/terms-2.0-en.html" /// Examples are `https://example.org/somewhere/terms-2.0-en.html`
/// and "https://example.org/somewhere/terms-2.0-fr.html". /// and `https://example.org/somewhere/terms-2.0-fr.html`.
pub url: String, pub url: String,
} }