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

Update for language changes. #3

Merged
merged 1 commit into from
Apr 20, 2013
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions complete.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ pub struct CompleteSelectResults {
inner: SelectResults
}

pub impl CompleteSelectResults {
pub impl<'self> CompleteSelectResults {
fn new_root(root: SelectResults) -> CompleteSelectResults {
CompleteSelectResults {
inner: root
Expand Down Expand Up @@ -67,7 +67,7 @@ pub impl CompleteSelectResults {
}
}

fn computed_style(&self) -> CompleteStyle<'self> {
fn computed_style(&'self self) -> CompleteStyle<'self> {
CompleteStyle {
inner: self.inner.computed_style()
}
Expand Down
2 changes: 1 addition & 1 deletion select.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ pub struct SelectResults {

pub impl<'self> SelectResults {
/** Retrieve the computed style of a single pseudo-element */
fn computed_style(&self) -> ComputedStyle<'self> {
fn computed_style(&'self self) -> ComputedStyle<'self> {
ComputedStyle {
inner: self.inner.computed_style(n::s::CssPseudoElementNone)
}
Expand Down