Skip to content

Commit b48ebc6

Browse files
Rollup merge of #79330 - jyn514:typo, r=jyn514
Fix typo in comment This is trivial enough I'm just going to merge without review. r? `@ghost`
2 parents b4db342 + 432a33e commit b48ebc6

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_privacy/src

1 file changed

+1
-1
lines changed

compiler/rustc_privacy/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -691,7 +691,7 @@ impl Visitor<'tcx> for EmbargoVisitor<'tcx> {
691691
hir::ItemKind::GlobalAsm(..) => {}
692692
hir::ItemKind::OpaqueTy(..) => {
693693
// HACK(jynelson): trying to infer the type of `impl trait` breaks `async-std` (and `pub async fn` in general)
694-
// Since rustdoc never need to do codegen and doesn't care about link-time reachability,
694+
// Since rustdoc never needs to do codegen and doesn't care about link-time reachability,
695695
// mark this as unreachable.
696696
// See https://github.com/rust-lang/rust/issues/75100
697697
if !self.tcx.sess.opts.actually_rustdoc {

0 commit comments

Comments
 (0)