From a66fd699395f840d6feed3d0702870e79f4a65ea Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 1 May 2022 11:36:44 +0100 Subject: [PATCH] Remove a pointless function This seems to just recurse to itself. Deleting it leaves everything still compiling. How odd. Signed-off-by: Ian Jackson --- apitest/atmain.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/apitest/atmain.rs b/apitest/atmain.rs index 1f663bdd..5cebde09 100644 --- a/apitest/atmain.rs +++ b/apitest/atmain.rs @@ -57,14 +57,10 @@ struct Session { mod scraper_ext { use super::*; use scraper::*; - use scraper::html::{*, Html}; + use scraper::html::Html; #[ext(pub)] impl Html { - fn select<'a,'b>(&'a self, selector: &'b Selector) -> Select<'a, 'b> { - self.select(selector) - } - #[throws(as Option)] fn element(&self, sel: S) -> ElementRef where S: TryInto, -- 2.30.2