mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 09:41:36 +00:00
Fix delete example
This commit is contained in:
parent
bfb73cb02b
commit
6de5f8152b
@ -278,7 +278,7 @@ f(22); // call
|
||||
|
||||
// Delete can be called on most types
|
||||
// (does NOT destroy value, but sets value to 0, the initial value)
|
||||
uint x = 5;
|
||||
delete x;
|
||||
|
||||
|
||||
// Destructuring/Tuples
|
||||
|
Loading…
Reference in New Issue
Block a user