generated from ElnuDev/rust-project
Add variable-to-variable assignment
This commit is contained in:
parent
01173d2f7d
commit
4bf6e7b820
2 changed files with 55 additions and 50 deletions
|
@ -6,7 +6,9 @@ if True:
|
|||
"Bob will be here in [x] seconds."
|
||||
if True:
|
||||
x = "1"
|
||||
let x = "4"
|
||||
let y = "4"
|
||||
y = "5"
|
||||
x = y
|
||||
"[x]"
|
||||
"Bob will be here in [x] seconds."
|
||||
"Bob will be here in [x] seconds."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue