From: Otto Moerbeek Date: Fri, 7 Feb 2025 10:06:37 +0000 (+0100) Subject: Typos is comments X-Git-Tag: dnsdist-2.0.0-alpha1~95^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=25c8beba49ae75faf3a0a3a79777b0b861fb8f1a;p=thirdparty%2Fpdns.git Typos is comments Co-authored-by: Miod Vallat --- diff --git a/pdns/recursordist/rec-rust-lib/rust/src/web.rs b/pdns/recursordist/rec-rust-lib/rust/src/web.rs index e4cb207651..703698cfde 100644 --- a/pdns/recursordist/rec-rust-lib/rust/src/web.rs +++ b/pdns/recursordist/rec-rust-lib/rust/src/web.rs @@ -25,7 +25,7 @@ TODO - Table based routing? - Ripping out yahttp stuff, providing some basic classes only. ATM we do use a few yahttp include files (but no .cc) - Some classes (NetmaskGroup, ComboAddress) need a UniquePtr Wrapper to keep them opaque (iputils - cannot be included without big headages in bridge.hh at the moment). We could seperate + cannot be included without big headaches in bridge.hh at the moment). We could seperate NetmaskGroup, but I expect ComboAddress to not work as it is union. - Avoid unsafe? Can it be done? */ @@ -935,7 +935,7 @@ pub fn serveweb( let tls = crate::web::rustweb::IncomingTLS { certificate: config.tls.certificate.clone(), key: config.tls.key.clone(), - // password: config.tls.password.clone(), not supported (yet), ruttls does not handle it + // password: config.tls.password.clone(), not supported (yet), rusttls does not handle it }; if !tls.certificate.is_empty() { tls_enabled = true; @@ -1091,7 +1091,7 @@ mod rustweb { } // Clippy does not seem to understand what cxx does and complains about needless_lifetimes - // The warning is silenced that warning above + // The warning is silenced above struct Request<'a> { body: Vec, uri: String,