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

I find specifying type on the left side of assignment operator much easier to interpret.

> let x: Vec<u8> = Vec::new();



let x: Vec<u8> = vec![];




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

Search: