Change part of speech for syntax (#40)

This commit is contained in:
Onè authored and GitHub committed 2024-05-23 09:05:22 +02:00
1 parent d9193d4b41
commit a9ba34c59a
1 file changed
+1 -1
@@ -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: