rust-lang/rust — pull request #20250 by ipetkov (2014-12-26 22:33:22+00:00)
Title: Derive Clone, PartialEq, and Eq for std::io::{FileAccess, FileMode}

* Both enums already derived `Copy`, but storing them in any
struct/container would prevent implementing `Clone` for said
struct/container even though they should be clonable.
* Also add PartialEq and Eq for good measure.