提交 7ba17aa7 编写于 作者: M Matthew Jasper

Display `impl Sized` correctly

It used to display as just `impl`
上级 c0bbc392
......@@ -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(())
})
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册