Simplify downcast_ref and downcast_mut

Created by  David Tolnay  on October 8, 2019
O557J2CNZMAHKGGCT3Y7LH5XORK63D2YOUCALWYB76CHVLJRSDBQC
Change contents