ignore bare_urls lint for well_known client config option

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry 2024-11-21 23:49:46 -05:00
parent 9100af9974
commit 5256cad396
No known key found for this signature in database

View file

@ -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: "<https://matrix.example.com>"
/// example: "https://matrix.example.com"
pub client: Option<Url>,
pub support_page: Option<Url>,
pub support_role: Option<ContactRole>,