Skip to content

Commit

Permalink
Update to latest rustc
Browse files Browse the repository at this point in the history
Update to rustc 0.13.0-nightly (6ef8392b3 2014-10-20 22:17:49 +0000)
  • Loading branch information
brendanzab committed Oct 22, 2014
1 parent f86f02b commit 99de3e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/writer/emitter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ impl fmt::Show for EmitterError {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
try!(write!(f, "Emitter error: {}", self.message));
if self.cause.is_some() {
write!(f, "; caused by: {}", *self.cause.get_ref())
write!(f, "; caused by: {}", *self.cause.as_ref().unwrap())
} else {
Ok(())
}
Expand Down

0 comments on commit 99de3e8

Please sign in to comment.