Skip to content

Commit

Permalink
Fix breakage in rustc_metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
jseyfried committed Feb 26, 2016
1 parent d0566d6 commit 2e36a7a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/librustc_metadata/astencode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ trait def_id_encoder_helpers {
}

impl<S:serialize::Encoder> def_id_encoder_helpers for S
where <S as serialize::serialize::Encoder>::Error: Debug
where <S as serialize::Encoder>::Error: Debug
{
fn emit_def_id(&mut self, did: DefId) {
did.encode(self).unwrap()
Expand All @@ -267,7 +267,7 @@ trait def_id_decoder_helpers {
}

impl<D:serialize::Decoder> def_id_decoder_helpers for D
where <D as serialize::serialize::Decoder>::Error: Debug
where <D as serialize::Decoder>::Error: Debug
{
fn read_def_id(&mut self, dcx: &DecodeContext) -> DefId {
let did: DefId = Decodable::decode(self).unwrap();
Expand Down

0 comments on commit 2e36a7a

Please sign in to comment.