mirror of
https://github.com/rust-lang/book.git
synced 2026-11-30 20:44:32 -06:00
Merge pull request #193 from k4rtik/patch-1
Update byte example to match the text
This commit is contained in:
@@ -167,7 +167,7 @@ the ASCII characters using `b` and single quotes:
|
|||||||
|
|
||||||
```rust
|
```rust
|
||||||
fn main() {
|
fn main() {
|
||||||
let byte = b' ';
|
let byte = b'a';
|
||||||
println!("byte is {}", byte);
|
println!("byte is {}", byte);
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user