Change part of speech for syntax (#40)
This commit is contained in:
parent
d9193d4b41
commit
a9ba34c59a
|
@ -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`
|
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:
|
This is the correspondence for the main operators:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue