Skip to content
This repository was archived by the owner on Jul 10, 2023. It is now read-only.

Commit 55fc4d7

Browse files
committed
Merge pull request #3 from luqmana/update
Update for language changes.
2 parents 6ce668e + edfb494 commit 55fc4d7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

complete.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ pub struct CompleteSelectResults {
1414
inner: SelectResults
1515
}
1616

17-
pub impl CompleteSelectResults {
17+
pub impl<'self> CompleteSelectResults {
1818
fn new_root(root: SelectResults) -> CompleteSelectResults {
1919
CompleteSelectResults {
2020
inner: root
@@ -67,7 +67,7 @@ pub impl CompleteSelectResults {
6767
}
6868
}
6969

70-
fn computed_style(&self) -> CompleteStyle<'self> {
70+
fn computed_style(&'self self) -> CompleteStyle<'self> {
7171
CompleteStyle {
7272
inner: self.inner.computed_style()
7373
}

select.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ pub struct SelectResults {
7373

7474
pub impl<'self> SelectResults {
7575
/** Retrieve the computed style of a single pseudo-element */
76-
fn computed_style(&self) -> ComputedStyle<'self> {
76+
fn computed_style(&'self self) -> ComputedStyle<'self> {
7777
ComputedStyle {
7878
inner: self.inner.computed_style(n::s::CssPseudoElementNone)
7979
}

0 commit comments

Comments
 (0)