As stated in standard library documentation: > One should always prefer implementing From over Into because implementing From automatically > provides one with an implementation of Into thanks to the blanket implementation in the standard library. And this provides the way to use u16::from(close_code)pull/125/head
parent
366700342b
commit
de80b9bced
Loading…
Reference in new issue