Skip to content

Factor out code duplication in src/test/bench/core-map.rs #4603

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
thestinger opened this issue Jan 24, 2013 · 0 comments
Closed

Factor out code duplication in src/test/bench/core-map.rs #4603

thestinger opened this issue Jan 24, 2013 · 0 comments
Labels
C-cleanup Category: PRs that clean code up or issues documenting cleanup.
Milestone

Comments

@thestinger
Copy link
Contributor

The benchmarks for LinearMap and TreeMap should just be using the Map trait, but I encountered a strange borrow checking issue:

This seems like a borrowck bug, but I'm not sure. The same issue occurs when trying to work around it with a trait like Construct with a new method.

@ghost ghost assigned thestinger Mar 10, 2013
@thestinger thestinger removed their assignment Jun 16, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-cleanup Category: PRs that clean code up or issues documenting cleanup.
Projects
None yet
Development

No branches or pull requests

1 participant