Skip to content

Commit 0c7fdf4

Browse files
committed
fix(rustdoc-json-types): typos
Typos found some typos in the file, so I fixed them c:
1 parent a1ce865 commit 0c7fdf4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/rustdoc-json-types/lib.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ pub enum AssocItemConstraintKind {
317317
// FIXME(aDotInTheVoid): Consider making this non-public in rustdoc-types.
318318
pub struct Id(pub u32);
319319

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.
321321
///
322322
/// Part of [`ItemSummary`].
323323
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, Serialize, Deserialize)]
@@ -710,7 +710,7 @@ pub enum Abi {
710710
Aapcs { unwind: bool },
711711
/// Can be specified as `extern "win64"`.
712712
Win64 { unwind: bool },
713-
/// Can be specifed as `extern "sysv64"`.
713+
/// Can be specified as `extern "sysv64"`.
714714
SysV64 { unwind: bool },
715715
/// Can be specified as `extern "system"`.
716716
System { unwind: bool },
@@ -1008,7 +1008,7 @@ pub enum Type {
10081008
QualifiedPath {
10091009
/// The name of the associated type in the parent type.
10101010
///
1011-
/// ```ignore (incomplete expresssion)
1011+
/// ```ignore (incomplete expression)
10121012
/// <core::array::IntoIter<u32, 42> as Iterator>::Item
10131013
/// // ^^^^
10141014
/// ```
@@ -1095,7 +1095,7 @@ pub struct FunctionSignature {
10951095
#[derive(Clone, Debug, PartialEq, Eq, Hash, Serialize, Deserialize)]
10961096
pub struct Trait {
10971097
/// Whether the trait is marked `auto` and is thus implemented automatically
1098-
/// for all aplicable types.
1098+
/// for all applicable types.
10991099
pub is_auto: bool,
11001100
/// Whether the trait is marked as `unsafe`.
11011101
pub is_unsafe: bool,

0 commit comments

Comments
 (0)