mirror of
https://github.com/servo/servo.git
synced 2025-08-28 00:28:20 +01:00
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:
parent
c369d0708c
commit
586a21e1dd
4 changed files with 12 additions and 12 deletions
|
@ -11,7 +11,7 @@ use std::ptr;
|
|||
use stylearc::Arc;
|
||||
|
||||
/// Indicates that a given Servo type has a corresponding Gecko FFI type.
|
||||
pub unsafe trait HasFFI : Sized {
|
||||
pub unsafe trait HasFFI : Sized + 'static {
|
||||
/// The corresponding Gecko type that this rust type represents.
|
||||
///
|
||||
/// See the examples in `components/style/gecko/conversions.rs`.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue