1
Fork 0

Some refactoring

This commit is contained in:
varkor 2020-12-30 15:34:53 +00:00 committed by kadmin
parent e4e5db4e42
commit 8ef81388e2
27 changed files with 74 additions and 89 deletions

View file

@ -2659,6 +2659,7 @@ impl<'a> State<'a> {
s.word_space(":");
s.print_type(ty);
s.print_type_bounds(":", &param.bounds);
// FIXME(const_generic_defaults)
if let Some(ref _default) = default {
// FIXME(const_generics_defaults): print the `default` value here
s.s.space();