Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
__henil
on Feb 5, 2021
|
parent
|
context
|
favorite
| on:
Bastion of the Turbofish (2020)
I find specifying type on the left side of assignment operator much easier to interpret.
> let x: Vec<u8> = Vec::new();
adamnemecek
on Feb 5, 2021
[–]
let x: Vec<u8> = vec![];
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
> let x: Vec<u8> = Vec::new();