Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yeah, you either need `u64::from` or `let x: u64 = expr.into()` or similar.

It does "make sense" but it's obnoxious, and we should have something better.



If only we had type ascription on expressions... ducks




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: