官术网_书友最值得收藏!

Conventions used

There are a number of text conventions used throughout this book.

CodeInText: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: "The project resides in a folder named threads_demo in the Chapter08/ directory."

A block of code is set as follows:

fn main() {
println!("Hello Rust!");
}

When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:

[dependencies]
serde = "1.0.8"
crossbeam = "0.6.0"
typenum = "1.10.0"

Any command-line input or output is written as follows:

$ rustc main.rs
$ cargo build

Bold: Indicates a new term, an important word, or words that you see onscreen. For example, words in menus or dialog boxes appear in the text like this. Here is an example: "Select System info from the Administration panel."

Warnings or important notes appear like this.
Tips and tricks appear like this.
主站蜘蛛池模板: 玉溪市| 本溪市| 平原县| 麻栗坡县| 夏邑县| 吉首市| 兴国县| 怀化市| 阳江市| 阳谷县| 云阳县| 宁远县| 南陵县| 孙吴县| 舟山市| 灵川县| 磐安县| 广宁县| 合作市| 晋中市| 清水河县| 吴旗县| 青河县| 文山县| 临湘市| 新田县| 锦屏县| 沐川县| 巢湖市| 搜索| 南陵县| 合阳县| 黄梅县| 博罗县| 丹寨县| 清涧县| 灯塔市| 邳州市| 开化县| 来凤县| 东方市|