- Rust Essentials(Second Edition)
- Ivo Balbaert
- 121字
- 2021-07-02 15:30:38
Consulting Rust documentation
The quickest way to find more detailed information about a Rust topic is to browse to the documentation screen of the Standard Library, http://doc.rust-lang.org/std/.
On the left, you can find a listing of all crates available, which you can browse for more details. But most useful is the search box at the top: type in a few letters or a word to get a number of useful references.

Exercises:
Try to change the value of a constant. Of course this is not allowed, what error do you get? (For an example see Chapter2/exercises/change_constant.rs) .
Look up the println! macro in the documentation.
Read the fmt specification and write a program that will print value 3.2f32 as +003.20 (see Chapter2/exercises/formatting.rs ).
Try to change the value of a constant. Of course this is not allowed, what error do you get? (For an example see Chapter2/exercises/change_constant.rs) .
Look up the println! macro in the documentation.
Read the fmt specification and write a program that will print value 3.2f32 as +003.20 (see Chapter2/exercises/formatting.rs ).
推薦閱讀
- Kubernetes實(shí)戰(zhàn)
- 企業(yè)級(jí)Java EE架構(gòu)設(shè)計(jì)精深實(shí)踐
- Java Web基礎(chǔ)與實(shí)例教程(第2版·微課版)
- 樂(lè)學(xué)Web編程:網(wǎng)站制作不神秘
- 老“碼”識(shí)途
- MATLAB定量決策五大類問(wèn)題
- 基于Swift語(yǔ)言的iOS App 商業(yè)實(shí)戰(zhàn)教程
- C語(yǔ)言實(shí)驗(yàn)指導(dǎo)及習(xí)題解析
- Oracle從入門(mén)到精通(第5版)
- RealSenseTM互動(dòng)開(kāi)發(fā)實(shí)戰(zhàn)
- UNIX Linux程序設(shè)計(jì)教程
- 軟件測(cè)試綜合技術(shù)
- 深入實(shí)踐DDD:以DSL驅(qū)動(dòng)復(fù)雜軟件開(kāi)發(fā)
- WildFly Cookbook
- Mastering Apache Camel