Make a bunch of types 'static.

The reasoning for this is explained in a comment in the next patch.

MozReview-Commit-ID: FQgDY77mg3B
This commit is contained in:
Bobby Holley 2017-06-06 14:39:02 -07:00
parent c369d0708c
commit 586a21e1dd
4 changed files with 12 additions and 12 deletions

View file

@ -2193,7 +2193,7 @@ pub fn get_writing_mode(inheritedbox_style: &style_structs::InheritedBox) -> Wri
}
/// A reference to a style struct of the parent, or our own style struct.
pub enum StyleStructRef<'a, T: 'a> {
pub enum StyleStructRef<'a, T: 'static> {
/// A borrowed struct from the parent, for example, for inheriting style.
Borrowed(&'a Arc<T>),
/// An owned struct, that we've already mutated.