Merge pull request #584 from manbucy/main

Update appendix-02-operators.md
pull/585/head
KaiserY 3 years ago committed by GitHub
commit 04370b76d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -17,8 +17,8 @@
| `!` | `ident!(...)`, `ident!{...}`, `ident![...]` | 宏展开 | | | `!` | `ident!(...)`, `ident!{...}`, `ident![...]` | 宏展开 | |
| `!` | `!expr` | 按位非或逻辑非 | `Not` | | `!` | `!expr` | 按位非或逻辑非 | `Not` |
| `!=` | `var != expr` | 不等比较 | `PartialEq` | | `!=` | `var != expr` | 不等比较 | `PartialEq` |
| `%` | `expr % expr` | 算术取 | `Rem` | | `%` | `expr % expr` | 算术取 | `Rem` |
| `%=` | `var %= expr` | 算术取与赋值 | `RemAssign` | | `%=` | `var %= expr` | 算术取与赋值 | `RemAssign` |
| `&` | `&expr`, `&mut expr` | 借用 | | | `&` | `&expr`, `&mut expr` | 借用 | |
| `&` | `&type`, `&mut type`, `&'a type`, `&'a mut type` | 借用指针类型 | | | `&` | `&type`, `&mut type`, `&'a type`, `&'a mut type` | 借用指针类型 | |
| `&` | `expr & expr` | 按位与 | `BitAnd` | | `&` | `expr & expr` | 按位与 | `BitAnd` |

Loading…
Cancel
Save