Display impl Sized
correctly
It used to display as just `impl`
This commit is contained in:
parent
c0bbc3927e
commit
7ba17aa72f
@ -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(())
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user