1
Fork 0

core: Derive Show impls wherever possible

These were temporarily moved to explicit implementations, but now that fmt is in
core it's possible to derive again.
This commit is contained in:
Alex Crichton 2014-05-10 13:49:08 -07:00
parent 27d8ea05a2
commit 3c06a0328a
6 changed files with 6 additions and 6 deletions

View file

@ -542,7 +542,7 @@ pub struct UTF16Items<'a> {
iter: slice::Items<'a, u16>
}
/// The possibilities for values decoded from a `u16` stream.
#[deriving(Eq, TotalEq, Clone)]
#[deriving(Eq, TotalEq, Clone, Show)]
pub enum UTF16Item {
/// A valid codepoint.
ScalarValue(char),