Closed matklad closed 3 years ago
bors r+
I was surprised to see that set(value)
returns the value
that was attempted to be set in Err(value)
, especially since the try_insert
that's based upon can return a ref to the value that was already set.
EDIT: perhaps it makes sense after all, if the intent is to return the ownership, hmm...
bors r+ 🤖