mirror of
https://github.com/mainmatter/100-exercises-to-learn-rust
synced 2024-11-16 19:50:44 +01:00
Change part of speech for syntax (#40)
This commit is contained in:
parent
d9193d4b41
commit
a9ba34c59a
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ pub trait PartialEq {
|
|||
```
|
||||
|
||||
When you write `x == y` the compiler will look for an implementation of the `PartialEq` trait for the types of `x` and `y`
|
||||
and replace `x == y` with `x.eq(y)`. It's syntax sugar!
|
||||
and replace `x == y` with `x.eq(y)`. It's syntactic sugar!
|
||||
|
||||
This is the correspondence for the main operators:
|
||||
|
||||
|
|
Loading…
Reference in a new issue