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:
parent
d679764fb6
commit
8bfd6450c7
35 changed files with 68 additions and 115 deletions
|
@ -138,7 +138,7 @@ rustc_index::newtype_index! {
|
|||
/// an "item-like" to something else can be implemented by a `Vec` instead of a
|
||||
/// tree or hash map.
|
||||
#[derive(HashStable_Generic)]
|
||||
pub struct ItemLocalId { .. }
|
||||
pub struct ItemLocalId {}
|
||||
}
|
||||
|
||||
impl ItemLocalId {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue