add examples
[webi-installers/.git] / rustlang / rustlang.bash
index 392356c7e0b24b980a30303b720a6f42b5c2259e..df5a8e43a6d53e9fde93847bf3349633c7e47c98 100644 (file)
@@ -5,6 +5,18 @@
 # tagline: The Rust Toolchain
 # description: |
 #   A language empowering everyone to build reliable and efficient software.
+# examples: |
+#   ```bash
+#   cargo install ripgrep
+#   ```
+#   <br/>
+#   ```bash
+#   cargo new hello --bin
+#   cargo build --release
+#   ./hello
+#   > "Hello, world!"
+#   ```
+
 
 # Straight from https://rustup.rs/
 curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh