Chat Bot Mistakes Rust Vecs

Today I was using an online chat bot (a well-known one) and exploring changes to my Rust code. The chat bot confidently told me that in Rust a Vec of bool is encoded as a single bit per bool . I even asked if this was "truly" the case in Rust, as I was not familiar with this. Rust Vecs In Rust the Vec type does not tend to have type-specific optimizations like for bool . It is supposed to be…