Y
Hacker News
new
|
ask
|
show
|
jobs
by
lbarrett
4050 days ago
I'm not an expert, but I think...
Your ref can't be unassigned. There are no null pointers.
1 comments
steveklabnik
4050 days ago
You can define a binding without the value it's bound to:
let x: i32;
But you have to assign to it before you can use it.
link