actually when to ; and when not to ; in Rust is still in that category of annoying trivia where i understand the rules but i have not yet programmed my fingers to play along
irritating π€
1
2
ugh i want my std::ops::Index::index() method to return Option<&T> not &Option<T>
my data structure either stores T or not, the option is implicit, and i canβt return a ref to something that doesnβ exist
1
itβs a data structure so it needs a fuzzer and a test oracle
iβve written a BmpVec for small bitmap-compressed vectors
now iβm writing a BlimpVec which is not compressed and doesnβt have unsafe code
1
1
while iβm getting this fuzzer going, i would be very grateful if any rustaceans could express an opinion on my unsafe code - the important functions are from_cooked_parts() and as_cooked_parts()
dotat.at/cgi/git/dnstrie.gitβ¦
4
aaaah when i overwrite myself, rust drops my old value, but instead i wanted rust to forget about it
1
1
1
they should rename libfuzzer to lovefuzzer
except that might have the wrong implications wrt furries
1
1
βwarning: unsafe function's docs miss `# Safety` sectionβ
yes yes @dsilverstone already said that good grief
1
2
If you can construct a minimal example of it being wrong, please file a bug. The clippy people will appreciate it.
May 13, 2021 Β· 6:38 PM UTC
1

