diff options
Diffstat (limited to 'compiler/rustc_index/src/vec.rs')
| -rw-r--r-- | compiler/rustc_index/src/vec.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_index/src/vec.rs b/compiler/rustc_index/src/vec.rs index a8c611e18ff..1a55519d7b1 100644 --- a/compiler/rustc_index/src/vec.rs +++ b/compiler/rustc_index/src/vec.rs @@ -60,8 +60,8 @@ pub struct IndexVec<I: Idx, T> { unsafe impl<I: Idx, T> Send for IndexVec<I, T> where T: Send {} impl<S: Encoder, I: Idx, T: Encodable<S>> Encodable<S> for IndexVec<I, T> { - fn encode(&self, s: &mut S) -> Result<(), S::Error> { - Encodable::encode(&self.raw, s) + fn encode(&self, s: &mut S) { + Encodable::encode(&self.raw, s); } } |
