I-poor-formattingUO-indent_stylegood first issueonly-with-option
倉庫指標
- Star
- (4,893 star)
- PR 合併指標
- (平均合併 67天) (30 天內合併 5 個 PR)
描述
Test code:
struct A<T>
where T: Send
{
x: u32,
}
impl<T> A<T> where T: Send
{
fn foo() {}
}
The impl block is expected to be formatted as:
impl<T> A<T>
where T: Send
{
fn foo() {}
}
Everything is ok for indent_style: "Block".
rustfmt version:
rustfmt 0.99.5-nightly (90692a59 2018-09-26)