summaryrefslogtreecommitdiffhomepage
path: root/solidity.html.markdown
diff options
context:
space:
mode:
authorAl <80943867+al-ias@users.noreply.github.com>2022-07-22 19:40:54 +0200
committerAl <80943867+al-ias@users.noreply.github.com>2022-07-22 19:40:54 +0200
commit6de5f8152b6fc61c1b240ece1d0bf5c37f8e431d (patch)
tree2bcdfd6e5b688dd1a22e26cd6349aeffa4a242d4 /solidity.html.markdown
parentbfb73cb02b1312bf187d903993bdd44be1bf36de (diff)
Fix delete example
Diffstat (limited to 'solidity.html.markdown')
-rw-r--r--solidity.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/solidity.html.markdown b/solidity.html.markdown
index 2006333e..fc9c8788 100644
--- a/solidity.html.markdown
+++ b/solidity.html.markdown
@@ -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