Skip to content

Use Zero trait for Fenwick Tree#102

Open
TonalidadeHidrica wants to merge 6 commits into
rust-lang-ja:masterfrom
TonalidadeHidrica:fenwick-zero-trait
Open

Use Zero trait for Fenwick Tree#102
TonalidadeHidrica wants to merge 6 commits into
rust-lang-ja:masterfrom
TonalidadeHidrica:fenwick-zero-trait

Conversation

@TonalidadeHidrica
Copy link
Copy Markdown
Collaborator

@TonalidadeHidrica TonalidadeHidrica commented Jun 21, 2022

The Zero trait, originally in internal_type_traits, was moved to a new public module num_traits, so that we do no longer need to specify the additive identity 0 when creating a new Fenwick Tree.

This will help many other improvement be done:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants