fix typo
Co-Authored-By: varkor <github@varkor.com>
This commit is contained in:
parent
c47bb6debd
commit
432ab343f8
1 changed files with 1 additions and 1 deletions
|
|
@ -248,7 +248,7 @@ impl<'a, 'tcx> InferCtxt<'a, 'tcx> {
|
|||
};
|
||||
printer.name_resolver = Some(Box::new(&getter));
|
||||
let _ = if let ty::FnDef(..) = ty.kind {
|
||||
// We don't want the regular output for `fn`s because it inscludes its path in
|
||||
// We don't want the regular output for `fn`s because it includes its path in
|
||||
// invalid pseduo-syntax, we want the `fn`-pointer output instead.
|
||||
ty.fn_sig(self.tcx).print(printer)
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue