Function rustc_data_structures::owned_slice::try_slice_owned
source ยท pub fn try_slice_owned<O, F, E>(owner: O, slicer: F) -> Result<OwnedSlice, E>Expand description
Makes an OwnedSlice out of an owner and a slicer function that can fail.
See slice_owned for the infallible version.