radixdlt-scrypto icon indicating copy to clipboard operation
radixdlt-scrypto copied to clipboard

Conflict between AvlTree and Instant

Open shahzaibak opened this issue 10 months ago • 0 comments

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

shahzaibak avatar Apr 02 '24 15:04 shahzaibak