Update Examples
parent
cce1e5e113
commit
fa5ad48471
@ -6,7 +6,7 @@ This page selects some example programs from "Rust by Example" and shows their i
|
|||||||
<th>Rust</th>
|
<th>Rust</th>
|
||||||
<th>Husht</th>
|
<th>Husht</th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr style="vertical-align: top;">
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
|
|
||||||
```
|
```
|
||||||
@ -18,7 +18,7 @@ fn main() {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
</td><td style="vertical-align: top;">
|
</td><td>
|
||||||
|
|
||||||
```
|
```
|
||||||
// Many comments from the Rust by Example version
|
// Many comments from the Rust by Example version
|
||||||
@ -26,6 +26,7 @@ fn main() {
|
|||||||
fn main
|
fn main
|
||||||
// Print text to the console.
|
// Print text to the console.
|
||||||
println! "Hello World!"
|
println! "Hello World!"
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
</td></tr></table>
|
</td></tr></table>
|
||||||
|
Loading…
Reference in New Issue
Block a user