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

More Rust version updates #27

Merged
merged 1 commit into from
Aug 13, 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
2 changes: 1 addition & 1 deletion select.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ struct SelectHandlerWrapper<N, H> {
}

impl<'self, N, H: SelectHandler<N>> SelectHandlerWrapper<N, H> {
priv fn inner_ref(&self) -> &'self H {
fn inner_ref(&self) -> &'self H {
unsafe { &*self.inner }
}
}
Expand Down
4 changes: 2 additions & 2 deletions types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ pub enum StylesheetOrigin {
}

impl StylesheetOrigin {
fn to_net(&self) -> n::ll::t::css_origin {
pub fn to_net(&self) -> n::ll::t::css_origin {
match *self {
OriginUA => n::ll::t::CSS_ORIGIN_UA,
OriginUser => n::ll::t::CSS_ORIGIN_USER,
OriginAuthor => n::ll::t::CSS_ORIGIN_AUTHOR
}
}
}
}