by rainbow-road · 6y ago · 0 comments
let value = unsafe {
match result {
Ok(value) => value,
_ => hint::unreachable_unchecked()
}
};
At this point, the fact that you've skipped an error check should be abundantly clear to anyone reading your code.No comments yet.