mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Fixed some clippy warnings in components (#32025)
* Fixed some clippy warnings in components * Updated the simplification of bolean expressions in componets/script/dom/range.rs
This commit is contained in:
parent
245269c649
commit
89a4820519
6 changed files with 15 additions and 18 deletions
|
@ -291,7 +291,7 @@ impl WindowProxy {
|
|||
.currently_active
|
||||
.get()
|
||||
.and_then(ScriptThread::find_document)
|
||||
.and_then(|doc| Some(DomRoot::from_ref(doc.window())))
|
||||
.map(|doc| DomRoot::from_ref(doc.window()))
|
||||
.unwrap();
|
||||
let msg = EmbedderMsg::AllowOpeningWebView(chan);
|
||||
window.send_to_embedder(msg);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue