mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Fix some new warnings
This commit is contained in:
parent
112f1ddeba
commit
1d38bc0419
65 changed files with 179 additions and 175 deletions
|
@ -19,8 +19,8 @@ pub trait Callback: JSTraceable + MallocSizeOf {
|
|||
#[dom_struct]
|
||||
pub struct PromiseNativeHandler {
|
||||
reflector: Reflector,
|
||||
resolve: Option<Box<Callback>>,
|
||||
reject: Option<Box<Callback>>,
|
||||
resolve: Option<Box<dyn Callback>>,
|
||||
reject: Option<Box<dyn Callback>>,
|
||||
}
|
||||
|
||||
impl PromiseNativeHandler {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue