Skip to content

Commit

Permalink
Update Ch15
Browse files Browse the repository at this point in the history
  • Loading branch information
gnu4cn committed Jun 2, 2023
1 parent 579d553 commit e4e17fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Ch21_Appendix.md
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ fn main() {
**<small>表 B-4:泛型</small>**

| 符号 | 说明 |
| :--- | :--- |
| :-- | :-- |
| `path<...>` | 指明类型中的泛型参数(比如,`Vec<u8>`|
| `path::<...>`, `method::<...>` | 指明表达式中泛型、函数或方法的参数;通常这被称作涡轮鱼语法,turbofish(比如,`"42".parse::<i32>()`,关于 Rust 的 turbofish 语法,请参考:[What is Rust's turbofish](https://techblog.tonsser.com/posts/what-is-rusts-turbofish)),[RUST 中的 turbofish 语法(一)](https://www.jianshu.com/p/9107685ece03) ... |
| `fn ident<...> ...` | 定义出泛型函数 |
Expand Down

0 comments on commit e4e17fe

Please sign in to comment.