librustdoc: use #[deriving(Copy)]
This commit is contained in:
parent
fa0383f38d
commit
4c007568bf
6 changed files with 11 additions and 24 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue