mirror of
https://github.com/rust-lang/book.git
synced 2026-11-30 19:24:32 -06:00
mdbook doesn't default to rust
In rustdoc, I don't need the Rust, but here I do.
This commit is contained in:
@@ -363,7 +363,7 @@ invalid memory can be accessed. Rust protects us against this kind of error.
|
||||
So far, we’ve been printing values using `{}`. If we try that with an array,
|
||||
though...
|
||||
|
||||
```ignore
|
||||
```rust,ignore
|
||||
fn main() {
|
||||
let a = [1, 2, 3, 4, 5];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user