Skip to content

Commit afa75f0

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

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
@@ -305,7 +305,7 @@ pub enum AssocItemConstraintKind {
305305
// FIXME(aDotInTheVoid): Consider making this non-public in rustdoc-types.
306306
pub struct Id(pub u32);
307307

308-
/// The fundamental kind of an item. Unlike [`ItemEnum`], this does not carry any aditional info.
308+
/// The fundamental kind of an item. Unlike [`ItemEnum`], this does not carry any additional info.
309309
///
310310
/// Part of [`ItemSummary`].
311311
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, Serialize, Deserialize)]
@@ -698,7 +698,7 @@ pub enum Abi {
698698
Aapcs { unwind: bool },
699699
/// Can be specified as `extern "win64"`.
700700
Win64 { unwind: bool },
701-
/// Can be specifed as `extern "sysv64"`.
701+
/// Can be specified as `extern "sysv64"`.
702702
SysV64 { unwind: bool },
703703
/// Can be specified as `extern "system"`.
704704
System { unwind: bool },
@@ -996,7 +996,7 @@ pub enum Type {
996996
QualifiedPath {
997997
/// The name of the associated type in the parent type.
998998
///
999-
/// ```ignore (incomplete expresssion)
999+
/// ```ignore (incomplete expression)
10001000
/// <core::array::IntoIter<u32, 42> as Iterator>::Item
10011001
/// // ^^^^
10021002
/// ```
@@ -1083,7 +1083,7 @@ pub struct FunctionSignature {
10831083
#[derive(Clone, Debug, PartialEq, Eq, Hash, Serialize, Deserialize)]
10841084
pub struct Trait {
10851085
/// Whether the trait is marked `auto` and is thus implemented automatically
1086-
/// for all aplicable types.
1086+
/// for all applicable types.
10871087
pub is_auto: bool,
10881088
/// Whether the trait is marked as `unsafe`.
10891089
pub is_unsafe: bool,

0 commit comments

Comments
 (0)