Skip to content

Commit

Permalink
Fix minor typos (quii#206)
Browse files Browse the repository at this point in the history
  • Loading branch information
ʇɹǝqƃǝᴉs puɐloɹ authored and quii committed Jul 16, 2019
1 parent dd10847 commit e290f12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions structs-methods-and-interfaces.md
Original file line number Diff line number Diff line change
Expand Up @@ -504,9 +504,9 @@ When you scan this
{Triangle{12, 6}, 36.0},
```

It's not immediately clear what all the numbers represent and you should be aiming for your tests to easily understood.
It's not immediately clear what all the numbers represent and you should be aiming for your tests to be easily understood.

So far you've only been shown one syntax for creating instances of structs `MyStruct{val1, val2}` but you can optionally name the fields.
So far you've only been shown syntax for creating instances of structs `MyStruct{val1, val2}` but you can optionally name the fields.

Let's see what it looks like

Expand Down

0 comments on commit e290f12

Please sign in to comment.