From: Ian Jackson Date: Sun, 1 May 2022 10:36:44 +0000 (+0100) Subject: Remove a pointless function X-Git-Tag: otter-1.1.0~373 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=a66fd699395f840d6feed3d0702870e79f4a65ea;p=otter.git Remove a pointless function This seems to just recurse to itself. Deleting it leaves everything still compiling. How odd. Signed-off-by: Ian Jackson --- 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,