mirror of
https://github.com/KaiserY/trpl-zh-cn
synced 2025-02-23 04:32:16 +08:00
Merge pull request #584 from manbucy/main
Update appendix-02-operators.md
This commit is contained in:
commit
04370b76d3
@ -17,8 +17,8 @@
|
||||
| `!` | `ident!(...)`, `ident!{...}`, `ident![...]` | 宏展开 | |
|
||||
| `!` | `!expr` | 按位非或逻辑非 | `Not` |
|
||||
| `!=` | `var != expr` | 不等比较 | `PartialEq` |
|
||||
| `%` | `expr % expr` | 算术取模 | `Rem` |
|
||||
| `%=` | `var %= expr` | 算术取模与赋值 | `RemAssign` |
|
||||
| `%` | `expr % expr` | 算术取余 | `Rem` |
|
||||
| `%=` | `var %= expr` | 算术取余与赋值 | `RemAssign` |
|
||||
| `&` | `&expr`, `&mut expr` | 借用 | |
|
||||
| `&` | `&type`, `&mut type`, `&'a type`, `&'a mut type` | 借用指针类型 | |
|
||||
| `&` | `expr & expr` | 按位与 | `BitAnd` |
|
||||
|
Loading…
Reference in New Issue
Block a user