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

  • Rust Quick Start Guide
  • Daniel Arbuckle
  • 184字
  • 2021-06-10 19:45:59

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: "Mount the downloaded WebStorm-10*.dmg disk image file as another disk in your system."

A block of code is set as follows:

fn main() {
println!("Hello, world!");
}

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

if 3 > 4 {
println!("Uh-oh. Three is greater than four.");
}
else if 3 == 4 {
println!("There seems to be something wrong with math.");
}

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

$ mkdir css
$ cd css

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.

主站蜘蛛池模板: 焉耆| 肥西县| 马龙县| 阿勒泰市| 德钦县| 宣城市| 玉龙| 新邵县| 宁阳县| 寿光市| 高台县| 太仓市| 曲靖市| 东丰县| 泗洪县| 西畴县| 灵丘县| 海南省| 财经| 平和县| 江孜县| 磐安县| 柳江县| 阿城市| 双峰县| 治多县| 盐城市| 桐柏县| 施秉县| 米林县| 夹江县| 崇州市| 安顺市| 芦山县| 色达县| 威信县| 五华县| 大方县| 疏附县| 稷山县| 牟定县|