Skip to content

Commit d0b1211

Browse files
committed
Comment nit
1 parent db9ddf1 commit d0b1211

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/ty/print/pretty.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1018,7 +1018,7 @@ pub trait PrettyPrinter<'tcx>:
10181018
" as ",
10191019
)?;
10201020
}
1021-
// For function type zsts just printing the type is enough
1021+
// For function type zsts just printing the path is enough
10221022
(Scalar::Raw { size: 0, .. }, ty::FnDef(d, s)) => p!(print_value_path(*d, s)),
10231023
// Empty tuples are frequently occurring, so don't print the fallback.
10241024
(Scalar::Raw { size: 0, .. }, ty::Tuple(ts)) if ts.is_empty() => p!(write("()")),

0 commit comments

Comments
 (0)