Skip to content

Commit

Permalink
FIX typos in 16-6 and 16-7 (CryptozombiesHQ#471)
Browse files Browse the repository at this point in the history
  • Loading branch information
Scottburg authored Jan 17, 2022
1 parent c0cad39 commit 02a5eed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion en/16/06.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ To accomplish this, you're going to use a `mapping` that'll associate each reque

```Solidity
MyStruct memory myStructInstance; // declare the struct
myStructInstance = new MyStruct(msg.sender, 200); // initialize it
myStructInstance = MyStruct(msg.sender, 200); // initialize it
```

☞ Did you notice the `memory` keyword? **_Starting with Solidity 5.0, it is mandatory to specify the data location for every reference type!_**
Expand Down

0 comments on commit 02a5eed

Please sign in to comment.