Fix some unused_mut/unused_result warnings

This commit is contained in:
Manish Goregaokar 2014-05-05 15:28:29 +05:30
parent 310d2a19bb
commit 1008a536a7
3 changed files with 3 additions and 5 deletions

View file

@ -73,8 +73,7 @@ impl<S: Encoder<E>, E> Encodable<S, E> for TrustedNodeAddress {
let node = addr as *Node as *mut Node;
unsafe {
JS::from_raw(node).encode(s)
};
Ok(())
}
}
}