mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
cargo fix --edition-idioms
This commit is contained in:
parent
b1fd6237d1
commit
2012be4a8b
203 changed files with 665 additions and 1281 deletions
|
@ -1028,7 +1028,7 @@ impl TestBindingMethods for TestBinding {
|
|||
handler: Rc<SimpleCallback>,
|
||||
}
|
||||
impl SimpleHandler {
|
||||
fn new(callback: Rc<SimpleCallback>) -> Box<Callback> {
|
||||
fn new(callback: Rc<SimpleCallback>) -> Box<dyn Callback> {
|
||||
Box::new(SimpleHandler { handler: callback })
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue