aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--components/profile_traits/mem.rs2
-rw-r--r--components/profile_traits/time.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/components/profile_traits/mem.rs b/components/profile_traits/mem.rs
index 794874581b9..b7da0d3e871 100644
--- a/components/profile_traits/mem.rs
+++ b/components/profile_traits/mem.rs
@@ -19,7 +19,7 @@ pub trait OpaqueSender<T> {
impl<T> OpaqueSender<T> for Sender<T> {
fn send(&self, message: T) {
- Sender::send(self, message).unwrap();
+ let _ = Sender::send(self, message);
}
}
diff --git a/components/profile_traits/time.rs b/components/profile_traits/time.rs
index ec8a3617cd6..7068a7261e4 100644
--- a/components/profile_traits/time.rs
+++ b/components/profile_traits/time.rs
@@ -22,7 +22,7 @@ pub struct ProfilerChan(pub IpcSender<ProfilerMsg>);
impl ProfilerChan {
pub fn send(&self, msg: ProfilerMsg) {
- self.0.send(msg).unwrap();
+ let _ = self.0.send(msg);
}
}