s/than/instead of/
This commit is contained in:
parent
beec630863
commit
e1e4fbd2a2
1 changed files with 2 additions and 2 deletions
|
|
@ -203,8 +203,8 @@ We could have used dot notation to do the same thing:
|
|||
let integer_length = length.0;
|
||||
```
|
||||
|
||||
It's always possible to use a `struct` than a tuple struct, and can be clearer.
|
||||
We would write `Color` and `Point` like this instead:
|
||||
It's always possible to use a `struct` instead of a tuple struct, and can be
|
||||
clearer. We could write `Color` and `Point` like this instead:
|
||||
|
||||
```rust
|
||||
struct Color {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue