mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Fix warning about unused result
This commit is contained in:
parent
1bbe92ff76
commit
775ff3b623
1 changed files with 1 additions and 1 deletions
|
@ -523,7 +523,7 @@ impl ServoGlue {
|
|||
},
|
||||
EmbedderMsg::GetClipboardContents(sender) => {
|
||||
let contents = self.callbacks.host_callbacks.get_clipboard_contents();
|
||||
sender.send(contents.unwrap_or("".to_owned()));
|
||||
let _ = sender.send(contents.unwrap_or("".to_owned()));
|
||||
},
|
||||
EmbedderMsg::SetClipboardContents(text) => {
|
||||
self.callbacks.host_callbacks.set_clipboard_contents(text);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue