Skip to content

Parameterized numeric type

Compare
Choose a tag to compare
@coriolinus coriolinus released this 07 Aug 17:57
· 144 commits to master since this release

This is a breaking change which adds a second type parameter to Counter, which is used to actually store the count. Some existing code may fail due to the new required parameter. In particular, type discovery appears not to be able to correctly determine that N should be usize by default when creating a counter via init.