]> git.lizzy.rs Git - rust.git/commitdiff
Fix typo in comment
authorNixon Enraght-Moony <nixon.emoony@gmail.com>
Thu, 1 Sep 2022 11:09:42 +0000 (12:09 +0100)
committerNixon Enraght-Moony <nixon.emoony@gmail.com>
Thu, 1 Sep 2022 11:09:42 +0000 (12:09 +0100)
src/librustdoc/passes/stripper.rs

index 83ed3752a824cd541aa608be7c46fb97b1d234c3..a9d768f0149d6280d561806d47bb3d038f50e414 100644 (file)
@@ -91,7 +91,7 @@ fn fold_item(&mut self, i: Item) -> Option<Item> {
             clean::ExternCrateItem { .. } => {}
             clean::ImportItem(ref imp) => {
                 // Because json doesn't inline imports from private modules, we need to mark
-                // the imported item as retained so it's impls won't be stripped.i
+                // the imported item as retained so it's impls won't be stripped.
                 //
                 // FIXME: Is it necessary to check for json output here: See
                 // https://github.com/rust-lang/rust/pull/100325#discussion_r941495215