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>Husht</th>
|
||||
</tr>
|
||||
<tr style="vertical-align: top;">
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
```
|
||||
@ -18,7 +18,7 @@ fn main() {
|
||||
}
|
||||
```
|
||||
|
||||
</td><td style="vertical-align: top;">
|
||||
</td><td>
|
||||
|
||||
```
|
||||
// Many comments from the Rust by Example version
|
||||
@ -26,6 +26,7 @@ fn main() {
|
||||
fn main
|
||||
// Print text to the console.
|
||||
println! "Hello World!"
|
||||
|
||||
```
|
||||
|
||||
</td></tr></table>
|
||||
|
Loading…
Reference in New Issue
Block a user