title: How to safely cast integers?
body: <p>There used to be a <code>fn std::num::cast</code> that would cast between integer types and return an <code>Option</code> (returning <code>None</code> if the cast was invalid). Where did that functionality go?</p>