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

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

surdeus

Warning

This post was published 52 days ago. The information described in this article may have changed.

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