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 @@ fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
}
if !is_sized {
write!(f, "{}?Sized", if first { " " } else { "+" })?;
} else if first {
write!(f, " Sized")?;
}
Ok(())
})