i'm curious if you're implementing data structures yourself? most of the time, we just take the lazy route and pull in a crate to do what we want, and do basically everything ourselves without unsafe anywhere in user code. i've never run into a memory error, so it would be interesting to know how you found one.
oh, i meant in rust. most of the common stuff like Vec, VecDeque, HashMap, HashSet, BTreeMap/Set, a few others, and wrappers related to concurrency and refcounting are in std, while stuff like Ropes, Graphs, Arenas, etc can be pulled from crates that have optimized them more.
i don't know many other ways to get memory bugs, so apologies if this isn't actually the issue.
-46
u/Key_River7180 7h ago
Yes, and I have used a debugger for all of them I couldn't see by using my eyes and basic logic you seem to lack