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:
@@ -116,12 +116,10 @@ impl<'tcx> fmt::Debug for OutlivesConstraint<'tcx> {
|
||||
|
||||
rustc_index::newtype_index! {
|
||||
#[debug_format = "OutlivesConstraintIndex({})"]
|
||||
pub struct OutlivesConstraintIndex {
|
||||
}
|
||||
pub struct OutlivesConstraintIndex {}
|
||||
}
|
||||
|
||||
rustc_index::newtype_index! {
|
||||
#[debug_format = "ConstraintSccIndex({})"]
|
||||
pub struct ConstraintSccIndex {
|
||||
}
|
||||
pub struct ConstraintSccIndex {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user