Skip to content

Commit 432ab34

Browse files
estebankvarkor
andauthored
fix typo
Co-Authored-By: varkor <github@varkor.com>
1 parent c47bb6d commit 432ab34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_infer/infer/error_reporting/need_type_info.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ impl<'a, 'tcx> InferCtxt<'a, 'tcx> {
248248
};
249249
printer.name_resolver = Some(Box::new(&getter));
250250
let _ = if let ty::FnDef(..) = ty.kind {
251-
// We don't want the regular output for `fn`s because it inscludes its path in
251+
// We don't want the regular output for `fn`s because it includes its path in
252252
// invalid pseduo-syntax, we want the `fn`-pointer output instead.
253253
ty.fn_sig(self.tcx).print(printer)
254254
} else {

0 commit comments

Comments
 (0)