Why does BTreeSet::clear have constraint A:Clone?

โš“ Rust    ๐Ÿ“… 2026-02-13    ๐Ÿ‘ค surdeus    ๐Ÿ‘๏ธ 1      

surdeus

I think this is just a minor mistake, or there is something I donโ€™t understand. The corresponding clear function in BTreeMap doesnโ€™t have it.

7 posts - 4 participants

Read full topic

๐Ÿท๏ธ Rust_feed