diff options
| author | Jonas Schievink <jonasschievink@gmail.com> | 2020-11-23 15:25:49 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-23 15:25:49 +0100 |
| commit | b48ebc6b15707ed6df09443b8f5878260f4def12 (patch) | |
| tree | 8fc6be1cbd6fbe9829281448bdfbdf794dfff157 | |
| parent | b4db342f512fabde89a9010ea9239795724deee1 (diff) | |
| parent | 432a33e1e291191f551dc1e748bd477ba9ca8f21 (diff) | |
| download | rust-b48ebc6b15707ed6df09443b8f5878260f4def12.tar.gz rust-b48ebc6b15707ed6df09443b8f5878260f4def12.zip | |
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`
| -rw-r--r-- | compiler/rustc_privacy/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_privacy/src/lib.rs b/compiler/rustc_privacy/src/lib.rs index 4a0d356d337..b8fa9081aa3 100644 --- a/compiler/rustc_privacy/src/lib.rs +++ b/compiler/rustc_privacy/src/lib.rs @@ -691,7 +691,7 @@ impl Visitor<'tcx> for EmbargoVisitor<'tcx> { hir::ItemKind::GlobalAsm(..) => {} hir::ItemKind::OpaqueTy(..) => { // HACK(jynelson): trying to infer the type of `impl trait` breaks `async-std` (and `pub async fn` in general) - // Since rustdoc never need to do codegen and doesn't care about link-time reachability, + // Since rustdoc never needs to do codegen and doesn't care about link-time reachability, // mark this as unreachable. // See https://github.com/rust-lang/rust/issues/75100 if !self.tcx.sess.opts.actually_rustdoc { |
