]> git.lizzy.rs Git - rust.git/blobdiff - src/doc/trpl/no-stdlib.md
TRPL: Add `rust` Marker to Some Code Block
[rust.git] / src / doc / trpl / no-stdlib.md
index 094c82a08cc9d12ac3eb57ac09deae56043b65ee..0a985334b5e4b694d797eb673986bc4fdebbbbe2 100644 (file)
@@ -20,7 +20,7 @@ default shim for the C `main` function with your own.
 The function marked `#[start]` is passed the command line parameters
 in the same format as C:
 
-```
+```rust
 #![feature(lang_items, start, no_std, libc)]
 #![no_std]
 
@@ -103,7 +103,7 @@ necessary functionality for writing idiomatic and effective Rust code.
 As an example, here is a program that will calculate the dot product of two
 vectors provided from C, using idiomatic Rust practices.
 
-```
+```ignore
 #![feature(lang_items, start, no_std, core, libc)]
 #![no_std]