From a0761c435d2e6d6c311df695f2c4e1c9dc611837 Mon Sep 17 00:00:00 2001 From: Jean-Christophe Amiel Date: Wed, 15 Oct 2025 23:24:28 +0200 Subject: [PATCH] Uses https://rust-lang.org instead of https://www.rust-lang.org https://www.rust-lang.org is a 301 to https://rust-lang.org now. --- src/easy/handler.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/easy/handler.rs b/src/easy/handler.rs index 66185cc55..2b20a487f 100644 --- a/src/easy/handler.rs +++ b/src/easy/handler.rs @@ -43,7 +43,7 @@ use crate::Error; /// /// let mut easy = Easy2::new(Collector(Vec::new())); /// easy.get(true).unwrap(); -/// easy.url("https://www.rust-lang.org/").unwrap(); +/// easy.url("https://rust-lang.org/").unwrap(); /// easy.perform().unwrap(); /// /// assert_eq!(easy.response_code().unwrap(), 200); @@ -368,7 +368,7 @@ pub fn ssl_ctx(cx: *mut c_void) -> Result<(), Error> { /// /// let mut easy = Easy2::new(Collector(Vec::new())); /// easy.get(true).unwrap(); -/// easy.url("https://www.rust-lang.org/").unwrap(); +/// easy.url("https://rust-lang.org/").unwrap(); /// easy.perform().unwrap(); /// /// assert_eq!(easy.response_code().unwrap(), 200);