Add Deref trait to overload the deref operator in appendix table

Fixes #1870.
This commit is contained in:
Carol (Nichols || Goulding)
2021-07-16 22:16:17 -04:00
parent dd76781573
commit 58ee7cebdf

View File

@@ -27,7 +27,7 @@ overload that operator is listed.
| `&&` | `expr && expr` | Short-circuiting logical AND | |
| `*` | `expr * expr` | Arithmetic multiplication | `Mul` |
| `*=` | `var *= expr` | Arithmetic multiplication and assignment | `MulAssign` |
| `*` | `*expr` | Dereference | |
| `*` | `*expr` | Dereference | `Deref` |
| `*` | `*const type`, `*mut type` | Raw pointer | |
| `+` | `trait + trait`, `'a + trait` | Compound type constraint | |
| `+` | `expr + expr` | Arithmetic addition | `Add` |