mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
clippy: Fix warnings in components/constellation
(#31610)
* clippy: fix warnings in components/constellation * fix: review comments
This commit is contained in:
parent
11c16adcd1
commit
7f1ef4c7fe
7 changed files with 114 additions and 112 deletions
|
@ -31,7 +31,7 @@ impl EventLoop {
|
|||
/// Create a new event loop from the channel to its script thread.
|
||||
pub fn new(script_chan: IpcSender<ConstellationControlMsg>) -> Rc<EventLoop> {
|
||||
Rc::new(EventLoop {
|
||||
script_chan: script_chan,
|
||||
script_chan,
|
||||
dont_send_or_sync: PhantomData,
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue