I think it depends on what the semantics of a present but empty collection is. If that cannot happen, then a vec which is considered absent if zero length is the right thing. If no vec vs. Empty vec is a valuable semantic distinction the the option path is better.
1
Daniel Silverstone ๐๐๐๐ยฒ ๐ณ๏ธโ๐๐ฌ๐ง retweeted
I met the bounty hunter as he rode in, dusty and weary.
"Did-" I hesitated, afraid to ask. "Did you find it?"
"Hardest job I ever had," the bounty hunter said, "but yeah, I found it."
He handed me a small box.
I opened it, and smiled widely as the hope I had lost came back to me.
100% yes. I've been trying to use "How are you feeling?" more recently, and it has improved the quality of responses and subsequent converstion dramatically.
Rearranged my eating/gymming yesterday in order to meet with @benhutchingsuk and walk him through some of the cardio machines at the local @jetts247 - Sadly this means that this morning I am hungry. This is rare for me, but today I feel I could eat a horse for breakfast.
If clippy could work out that Hash<Ty> and Hash<Borrow<Ty>> were different implementations it could at least warn. I don't know if it'd be able to dive into whether they did the same thing as different implementations though.
Hmm, I'm not entirely sure I trust the opt-out. They'll find a way to spam you. Also does that mean noone can have a guarantee without an email address? So non-internetty people don't get guarantees?