diff --git a/book/src/04_traits/03_operator_overloading.md b/book/src/04_traits/03_operator_overloading.md index b8835f6..36ef868 100644 --- a/book/src/04_traits/03_operator_overloading.md +++ b/book/src/04_traits/03_operator_overloading.md @@ -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: