From 25c8beba49ae75faf3a0a3a79777b0b861fb8f1a Mon Sep 17 00:00:00 2001 From: Otto Moerbeek Date: Fri, 7 Feb 2025 11:06:37 +0100 Subject: [PATCH] Typos is comments Co-authored-by: Miod Vallat --- pdns/recursordist/rec-rust-lib/rust/src/web.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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, -- 2.47.2