Attempt to remove the `where` bounds in arithmetic. (#7933)
* Attempt to remove the where bounds. * Fix further and further. * Format better. * Update primitives/npos-elections/src/lib.rs * fix build * remove unused
Showing
- substrate/frame/staking/src/lib.rs 2 additions, 5 deletionssubstrate/frame/staking/src/lib.rs
- substrate/frame/staking/src/offchain_election.rs 2 additions, 5 deletionssubstrate/frame/staking/src/offchain_election.rs
- substrate/primitives/arithmetic/src/lib.rs 10 additions, 13 deletionssubstrate/primitives/arithmetic/src/lib.rs
- substrate/primitives/arithmetic/src/per_things.rs 89 additions, 66 deletionssubstrate/primitives/arithmetic/src/per_things.rs
- substrate/primitives/election-providers/src/onchain.rs 1 addition, 5 deletionssubstrate/primitives/election-providers/src/onchain.rs
- substrate/primitives/npos-elections/benches/phragmen.rs 0 additions, 1 deletionsubstrate/primitives/npos-elections/benches/phragmen.rs
- substrate/primitives/npos-elections/src/helpers.rs 8 additions, 18 deletionssubstrate/primitives/npos-elections/src/helpers.rs
- substrate/primitives/npos-elections/src/lib.rs 8 additions, 13 deletionssubstrate/primitives/npos-elections/src/lib.rs
- substrate/primitives/npos-elections/src/mock.rs 2 additions, 4 deletionssubstrate/primitives/npos-elections/src/mock.rs
- substrate/primitives/npos-elections/src/phragmen.rs 2 additions, 5 deletionssubstrate/primitives/npos-elections/src/phragmen.rs
- substrate/primitives/npos-elections/src/phragmms.rs 3 additions, 6 deletionssubstrate/primitives/npos-elections/src/phragmms.rs
Please register or sign in to comment