From 775ff3b6235922e1bec15f28aed77fc1c7e9abdb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Mieczkowski?= Date: Wed, 3 Jul 2019 10:47:37 +0200 Subject: [PATCH] Fix warning about unused result --- ports/libsimpleservo/api/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ports/libsimpleservo/api/src/lib.rs b/ports/libsimpleservo/api/src/lib.rs index 1e92baf9670..9e9f3ffe376 100644 --- a/ports/libsimpleservo/api/src/lib.rs +++ b/ports/libsimpleservo/api/src/lib.rs @@ -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);