mirror of
https://github.com/servo/servo.git
synced 2025-06-13 02:44:29 +00:00
Upgrade Rust.
This commit is contained in:
parent
62c9a779a9
commit
7a4321d649
81 changed files with 265 additions and 236 deletions
|
@ -173,7 +173,7 @@ impl ScriptLayoutChan for OpaqueScriptLayoutChannel {
|
|||
|
||||
fn sender(&self) -> Sender<Msg> {
|
||||
let &OpaqueScriptLayoutChannel((ref sender, _)) = self;
|
||||
(*sender.as_ref::<Sender<Msg>>().unwrap()).clone()
|
||||
(*sender.downcast_ref::<Sender<Msg>>().unwrap()).clone()
|
||||
}
|
||||
|
||||
fn receiver(self) -> Receiver<Msg> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue