]> git.lizzy.rs Git - rust.git/blobdiff - src/librustdoc/json/conversions.rs
Auto merge of #2665 - RalfJung:rustup, r=RalfJung
[rust.git] / src / librustdoc / json / conversions.rs
index 091a1ba70cab7d2a3691acb17dde6d8cd1c9220c..acfbd072121a13491fe2845d1f06361bc27ac2bf 100644 (file)
@@ -674,7 +674,7 @@ fn from_tcx(variant: clean::Variant, tcx: TyCtxt<'_>) -> Self {
 impl FromWithTcx<clean::Discriminant> for Discriminant {
     fn from_tcx(disr: clean::Discriminant, tcx: TyCtxt<'_>) -> Self {
         Discriminant {
-            // expr is only none if going throught the inlineing path, which gets
+            // expr is only none if going through the inlineing path, which gets
             // `rustc_middle` types, not `rustc_hir`, but because JSON never inlines
             // the expr is always some.
             expr: disr.expr(tcx).unwrap(),