mirror of
https://github.com/servo/servo.git
synced 2025-10-17 00:39:15 +01:00
Fix some unused_mut/unused_result warnings
This commit is contained in:
parent
310d2a19bb
commit
1008a536a7
3 changed files with 3 additions and 5 deletions
|
@ -138,8 +138,7 @@ impl<T> DerefMut<T> for Traceable<T> {
|
|||
|
||||
impl<S: Encoder<E>, E, T: Encodable<S, E>> Encodable<S, E> for Traceable<RefCell<T>> {
|
||||
fn encode(&self, s: &mut S) -> Result<(), E> {
|
||||
self.borrow().encode(s);
|
||||
Ok(())
|
||||
self.borrow().encode(s)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue