Rust High Performance
上QQ阅读APP看书,第一时间看更新

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 iterator will not run until you call collect() method or use it in a loop. Those are the moments in which the next() method gets executed."

A block of code is set as follows:

    for row in arr1.iter().cartesian_product(arr2.iter()) {
print!("{:?}, ", row);
}

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

cargo install --no-default-features --features sqlite diesel_cli

Bold: Indicates a new term, an important word, or words that you see onscreen.

Warnings or important notes appear like this.
Tips and tricks appear like this.