From 5256cad396b97b520a1078e327b8c2adfb423e9b Mon Sep 17 00:00:00 2001 From: strawberry Date: Thu, 21 Nov 2024 23:49:46 -0500 Subject: [PATCH] ignore bare_urls lint for well_known client config option Signed-off-by: strawberry --- src/core/config/mod.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/config/mod.rs b/src/core/config/mod.rs index 753a08fa..66c78440 100644 --- a/src/core/config/mod.rs +++ b/src/core/config/mod.rs @@ -1516,6 +1516,7 @@ pub struct TlsConfig { pub dual_protocol: bool, } +#[allow(rustdoc::broken_intra_doc_links, rustdoc::bare_urls)] #[derive(Clone, Debug, Deserialize, Default)] #[config_example_generator(filename = "conduwuit-example.toml", section = "global.well_known")] pub struct WellKnownConfig { @@ -1528,7 +1529,7 @@ pub struct WellKnownConfig { /// The server URL that the client well-known file will serve. This should /// not contain a port, and should just be a valid HTTPS URL. /// - /// example: "" + /// example: "https://matrix.example.com" pub client: Option, pub support_page: Option, pub support_role: Option,