A few small cleanups for newtype_index
Remove the `..` from the body, only a few invocations used it and it's inconsistent with rust syntax. Use `;` instead of `,` between consts. As the Rust syntax gods inteded.
This commit is contained in:
@@ -22,7 +22,7 @@ struct PreOrderFrame<Iter> {
|
||||
}
|
||||
|
||||
rustc_index::newtype_index! {
|
||||
struct PreorderIndex { .. }
|
||||
struct PreorderIndex {}
|
||||
}
|
||||
|
||||
pub fn dominators<G: ControlFlowGraph>(graph: G) -> Dominators<G::Node> {
|
||||
|
||||
Reference in New Issue
Block a user