Change part of speech for syntax (#40)

This commit is contained in:
Onè 2024-05-23 03:05:22 -04:00 committed by GitHub
parent d9193d4b41
commit a9ba34c59a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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: