aboutsummaryrefslogtreecommitdiffstats
path: root/components/util/memory.rs
diff options
context:
space:
mode:
authorAlexandru Cojocaru <xojoc@gmx.com>2015-01-29 22:11:03 +0100
committerMs2ger <ms2ger@gmail.com>2015-02-03 16:05:13 +0100
commit685fee02a0a5cc91bf92f0407f559ba164950a83 (patch)
tree4f38601714276d2a778b2c7fb65d1b4396ef7f25 /components/util/memory.rs
parent3da41c2b16d84a8eb4c616b50124afd1252d1123 (diff)
downloadservo-685fee02a0a5cc91bf92f0407f559ba164950a83.tar.gz
servo-685fee02a0a5cc91bf92f0407f559ba164950a83.zip
add `unwrap` to `send/recv` calls
Diffstat (limited to 'components/util/memory.rs')
-rw-r--r--components/util/memory.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/util/memory.rs b/components/util/memory.rs
index 5e3033e2aa5..eea6fd17383 100644
--- a/components/util/memory.rs
+++ b/components/util/memory.rs
@@ -26,7 +26,7 @@ pub struct MemoryProfilerChan(pub Sender<MemoryProfilerMsg>);
impl MemoryProfilerChan {
pub fn send(&self, msg: MemoryProfilerMsg) {
let MemoryProfilerChan(ref c) = *self;
- c.send(msg);
+ c.send(msg).unwrap();
}
}