- Learning Rust
- Paul Johnson Vesa Kaihlavirta
- 53字
- 2021-07-02 23:07:24
The _ parameter
You may be wondering what the _ parameter is. In Rust, it is often not allowed to omit variable bindings even if we don't use them. We can use _ to signify that we know that this place needs a variable binding, but we are never going to use it.
推薦閱讀
- Learning Neo4j
- Mastering RabbitMQ
- Learning Docker
- Java面向?qū)ο筌浖_發(fā)
- Python從小白到大牛
- AWS Serverless架構(gòu):使用AWS從傳統(tǒng)部署方式向Serverless架構(gòu)遷移
- C#程序設(shè)計(jì)(慕課版)
- ASP.NET動(dòng)態(tài)網(wǎng)頁設(shè)計(jì)教程(第三版)
- Python進(jìn)階編程:編寫更高效、優(yōu)雅的Python代碼
- 人人都懂設(shè)計(jì)模式:從生活中領(lǐng)悟設(shè)計(jì)模式(Python實(shí)現(xiàn))
- 網(wǎng)站構(gòu)建技術(shù)
- Advanced Oracle PL/SQL Developer's Guide(Second Edition)
- LabVIEW虛擬儀器程序設(shè)計(jì)從入門到精通(第二版)
- MySQL入門很輕松(微課超值版)
- Django 3.0應(yīng)用開發(fā)詳解