Some time back, I came across Logan Smith’s Choose the Right Option video, and the other day I was trying to summarize it for a colleague.
I think it boils down to this:
If we assume T: ?Clone, then
| to convert… | to &Option<T>… |
to Option<&T>… |
|---|---|---|
x: T … |
