- 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.
推薦閱讀
- C# 7 and .NET Core Cookbook
- 零起步玩轉掌控板與Mind+
- Redis Applied Design Patterns
- HTML5+CSS3+JavaScript Web開發案例教程(在線實訓版)
- Python完全自學教程
- Angular開發入門與實戰
- 第一行代碼 C語言(視頻講解版)
- NGINX Cookbook
- 21天學通C++(第5版)
- Modern C++ Programming Cookbook
- 微信小程序開發實戰:設計·運營·變現(圖解案例版)
- Vue.js 3應用開發與核心源碼解析
- 算法設計與分析:基于C++編程語言的描述
- Arduino電子設計實戰指南:零基礎篇
- 官方 Scratch 3.0 編程趣味卡:讓孩子們愛上編程(全彩)