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:
parent
27d8ea05a2
commit
3c06a0328a
6 changed files with 6 additions and 6 deletions
|
@ -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),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue