4 ms·
> If you made that change, it would then conflict with the name of the method: as_ is defined as a free conversion. Ah, I wasn't aware of that convention. I'm
by mwcampbell 4y ago
> If you made that change, it would then conflict with the name of the method: as_ is defined as a free conversion.
Ah, I wasn't aware of that convention. I'm sure that means I failed to do adequate research before jumping into this discussion.
- steveklabnik 4y agoIt's all good :) I think that may be a bit harsh on yourself. If you're curious: https://rust-lang.github.io/api-guidelines/naming.html#ad-hoc-conversions-follow-as_-to_-into_-conventions-c-conv https://rust-lang.github.io/api-guidelines/naming.html#ad-ho...