Display impl Sized correctly

It used to display as just `impl`
This commit is contained in:
Matthew Jasper 2018-11-14 22:24:22 +00:00
parent c0bbc3927e
commit 7ba17aa72f

View File

@ -1325,6 +1325,8 @@ define_print! {
} }
if !is_sized { if !is_sized {
write!(f, "{}?Sized", if first { " " } else { "+" })?; write!(f, "{}?Sized", if first { " " } else { "+" })?;
} else if first {
write!(f, " Sized")?;
} }
Ok(()) Ok(())
}) })