chiark
/
gitweb
/
~ianmdlvl
/
otter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
159abad
)
Remove a pointless function
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 1 May 2022 10:36:44 +0000
(11:36 +0100)
committer
Ian 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
patch
|
blob
|
history
diff --git
a/apitest/atmain.rs
b/apitest/atmain.rs
index 1f663bddb0aeecf31458b44e159ccd4020a4d796..5cebde09cbe70bafb0d428e37916d265074b242d 100644
(file)
--- 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<S>(&self, sel: S) -> ElementRef
where S: TryInto<Selector>,