diff --git a/Examples.md b/Examples.md index c15b98a..35424aa 100644 --- a/Examples.md +++ b/Examples.md @@ -8,6 +8,7 @@ This page selects some example programs from "Rust by Example" and shows their i + ``` // Many comments from the Rust by Example version have been removed fn main() { @@ -15,14 +16,18 @@ fn main() { println!("Hello World!"); } ``` + + ``` // Many comments from the Rust by Example version have been removed fn main // Print text to the console. println! "Hello World!" ``` + + #### Formatted print (Skipping for now because we likely want "f-strings" in Husht, which require some thought/design.)