mirror of
https://github.com/sunface/rust-by-practice.git
synced 2025-06-23 04:29:41 +00:00
@ -110,7 +110,7 @@ var initAll = function () {
|
||||
pagePath = "index"
|
||||
}
|
||||
|
||||
// add vistors count
|
||||
// add visitors count
|
||||
var ele = document.createElement("div");
|
||||
ele.setAttribute("align","center");
|
||||
var count = document.createElement("img")
|
||||
|
@ -16,13 +16,13 @@ fn drink(beverage: &str) {
|
||||
__
|
||||
}
|
||||
|
||||
println!("Excercise Failed if printing out this line!");
|
||||
println!("Exercise Failed if printing out this line!");
|
||||
}
|
||||
|
||||
fn main() {
|
||||
drink(__);
|
||||
|
||||
println!("Excercise Failed if printing out this line!");
|
||||
println!("Exercise Failed if printing out this line!");
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -331,7 +331,7 @@ In some cases, fine control is needed over the way a register name is formatted
|
||||
|
||||
By default the compiler will always choose the name that refers to the full register size (e.g. `rax` on x86-64, `eax` on x86, etc).
|
||||
|
||||
This default can be overriden by using modifiers on the template string operands, just like you would with format strings:
|
||||
This default can be overridden by using modifiers on the template string operands, just like you would with format strings:
|
||||
|
||||
```rust
|
||||
use std::arch::asm;
|
||||
|
Reference in New Issue
Block a user