1
Fork 0

librustdoc: use #[deriving(Copy)]

This commit is contained in:
Jorge Aparicio 2014-12-14 23:17:42 -05:00
parent fa0383f38d
commit 4c007568bf
6 changed files with 11 additions and 24 deletions

View file

@ -70,7 +70,7 @@ impl Module {
}
}
#[deriving(Show, Clone, Encodable, Decodable)]
#[deriving(Copy, Show, Clone, Encodable, Decodable)]
pub enum StructType {
/// A normal struct
Plain,
@ -82,8 +82,6 @@ pub enum StructType {
Unit
}
impl Copy for StructType {}
pub enum TypeBound {
RegionBound,
TraitBound(ast::TraitRef)