BTreeSet contains value (with custom Ord implementation) and falsely returns true for `contains`

前端 未结 0 724
孤城傲影
孤城傲影 2020-12-31 12:47

I have a BTreeSet that stores values of type:

#[derive(Debug, Eq)]
pub struct Foo {
    pub a: usize,
           


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题