Skip to content

Commit f21209f

Browse files
authored
Rollup merge of #41842 - Migi:patch-1, r=eddyb
Fix typo in subst.rs Changed "unknwon" to "unknown".
2 parents 2f0deec + dfd5849 commit f21209f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/ty/subst.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ impl<'tcx> fmt::Debug for Kind<'tcx> {
102102
} else if let Some(r) = self.as_region() {
103103
write!(f, "{:?}", r)
104104
} else {
105-
write!(f, "<unknwon @ {:p}>", self.ptr.get() as *const ())
105+
write!(f, "<unknown @ {:p}>", self.ptr.get() as *const ())
106106
}
107107
}
108108
}

0 commit comments

Comments
 (0)