chiark / gitweb /
Remove a pointless function
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 1 May 2022 10:36:44 +0000 (11:36 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 1 May 2022 10:37:13 +0000 (11:37 +0100)
This seems to just recurse to itself.  Deleting it leaves everything
still compiling.  How odd.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
apitest/atmain.rs

index 1f663bddb0aeecf31458b44e159ccd4020a4d796..5cebde09cbe70bafb0d428e37916d265074b242d 100644 (file)
@@ -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<S>(&self, sel: S) -> ElementRef
     where S: TryInto<Selector>,