Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update for language changes. #5

Merged
merged 1 commit into from Apr 20, 2013
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Update for language changes.

  • Loading branch information
luqmana committed Apr 20, 2013
commit a65a9768384d0ef06f47049fb639aab312ee453a
@@ -721,7 +721,7 @@ pub mod select {
priv fn enter(n: &str) {
debug!("entering raw handler: %s", n);
}
priv fn ph(pw: *c_void) -> &UntypedHandler {
priv fn ph<'a>(pw: *c_void) -> &'a UntypedHandler<'a> {
unsafe { transmute(pw) }
}
pub extern fn node_name(pw: *c_void, node: *c_void, qname: *mut css_qname) -> css_error {
@@ -1012,8 +1012,8 @@ pub mod select {
}
}

pub impl CssSelectResults {
fn computed_style(&self, element: CssPseudoElement) -> CssComputedStyle<'self> {
pub impl<'self> CssSelectResults {
fn computed_style(&'self self, element: CssPseudoElement) -> CssComputedStyle<'self> {
let element = element.to_ll();
let llstyle = unsafe { *self.results }.styles[element];
// FIXME: Rust #3926
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.