@@ -317,10 +317,10 @@ pub enum AssocItemConstraintKind {
317
317
// FIXME(aDotInTheVoid): Consider making this non-public in rustdoc-types.
318
318
pub struct Id ( pub u32 ) ;
319
319
320
- /// The fundamental kind of an item. Unlike [`ItemEnum`], this does not carry any aditional info.
320
+ /// The fundamental kind of an item. Unlike [`ItemEnum`], this does not carry any additional info.
321
321
///
322
322
/// Part of [`ItemSummary`].
323
- #[ derive( Clone , Debug , PartialEq , Eq , Hash , Serialize , Deserialize ) ]
323
+ #[ derive( Clone , Copy , Debug , PartialEq , Eq , Hash , Serialize , Deserialize ) ]
324
324
#[ serde( rename_all = "snake_case" ) ]
325
325
pub enum ItemKind {
326
326
/// A module declaration, e.g. `mod foo;` or `mod foo {}`
@@ -710,7 +710,7 @@ pub enum Abi {
710
710
Aapcs { unwind : bool } ,
711
711
/// Can be specified as `extern "win64"`.
712
712
Win64 { unwind : bool } ,
713
- /// Can be specifed as `extern "sysv64"`.
713
+ /// Can be specified as `extern "sysv64"`.
714
714
SysV64 { unwind : bool } ,
715
715
/// Can be specified as `extern "system"`.
716
716
System { unwind : bool } ,
@@ -904,7 +904,7 @@ pub enum GenericBound {
904
904
}
905
905
906
906
/// A set of modifiers applied to a trait.
907
- #[ derive( Clone , Debug , PartialEq , Eq , Hash , Serialize , Deserialize ) ]
907
+ #[ derive( Clone , Copy , Debug , PartialEq , Eq , Hash , Serialize , Deserialize ) ]
908
908
#[ serde( rename_all = "snake_case" ) ]
909
909
pub enum TraitBoundModifier {
910
910
/// Marks the absence of a modifier.
@@ -1008,7 +1008,7 @@ pub enum Type {
1008
1008
QualifiedPath {
1009
1009
/// The name of the associated type in the parent type.
1010
1010
///
1011
- /// ```ignore (incomplete expresssion )
1011
+ /// ```ignore (incomplete expression )
1012
1012
/// <core::array::IntoIter<u32, 42> as Iterator>::Item
1013
1013
/// // ^^^^
1014
1014
/// ```
@@ -1095,7 +1095,7 @@ pub struct FunctionSignature {
1095
1095
#[ derive( Clone , Debug , PartialEq , Eq , Hash , Serialize , Deserialize ) ]
1096
1096
pub struct Trait {
1097
1097
/// Whether the trait is marked `auto` and is thus implemented automatically
1098
- /// for all aplicable types.
1098
+ /// for all applicable types.
1099
1099
pub is_auto : bool ,
1100
1100
/// Whether the trait is marked as `unsafe`.
1101
1101
pub is_unsafe : bool ,
@@ -1205,7 +1205,7 @@ pub struct ProcMacro {
1205
1205
}
1206
1206
1207
1207
/// The way a [`ProcMacro`] is declared to be used.
1208
- #[ derive( Clone , Debug , PartialEq , Eq , Hash , Serialize , Deserialize ) ]
1208
+ #[ derive( Clone , Copy , Debug , PartialEq , Eq , Hash , Serialize , Deserialize ) ]
1209
1209
#[ serde( rename_all = "snake_case" ) ]
1210
1210
pub enum MacroKind {
1211
1211
/// A bang macro `foo!()`.
0 commit comments