Skip to content
This repository was archived by the owner on Jul 30, 2025. It is now read-only.

Commit 708f633

Browse files
authored
Update variables.mdx
1 parent 21dc2a3 commit 708f633

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

apps/nextra/pages/en/build/smart-contracts/book/variables.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -763,11 +763,12 @@ script {
763763
fun example() {
764764
{
765765
let x = 0;
766-
x + 1; // value is discarded
766+
x + 1; //
767767
x + 2; // value is discarded
768768
b"hello"; // value is discarded
769769
}
770770
}
771+
}
771772
```
772773

773774
But! If the expression contains a resource (a value without the `drop` [ability](abilities.mdx)),

0 commit comments

Comments
 (0)