Skip to content
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

Conflict between AvlTree and Instant #1757

Closed
shahzaibak opened this issue Apr 2, 2024 · 0 comments · Fixed by #1792
Closed

Conflict between AvlTree and Instant #1757

shahzaibak opened this issue Apr 2, 2024 · 0 comments · Fixed by #1792

Comments

@shahzaibak
Copy link

When using a AvlTree that contains and Instant, I get the following error:


the trait bound scrypto::prelude::Instant: std::cmp::Ord is not satisfied [E0277]
the trait std::cmp::Ord is not implemented for scrypto::prelude::Instant
Note: required by a bound in scrypto_avltree::AvlTree

the trait bound scrypto::prelude::Instant: std::hash::Hash is not satisfied [E0277]
the trait std::hash::Hash is not implemented for scrypto::prelude::Instant
Note: required by a bound in scrypto_avltree::AvlTree


radix_engine_common::time::instant

pub struct Instant

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

Successfully merging a pull request may close this issue.

1 participant