mozilla/rust — pull request #4243 by erickt (2012-12-21 05:27:27+00:00)
Title: Fix a bug in Result::unwrap_err (and minor cleanup)

I made the mistake of writing the method `Result::unwrap` as `fn unwrap_err(&self) -> T { unwrap(self) }`. This patch fixes that bug, and also does some cleanup of time.rs.