]> git.lizzy.rs Git - rust.git/blobdiff - src/doc/intro.md
rollup merge of #19735: sethpollack/patch-1
[rust.git] / src / doc / intro.md
index 1c6f5b6c6f8489c823af23289ceb11722f96e4ab..880dd6e2d6c3f4fe8fe3e57fe34005e6f5246cff 100644 (file)
@@ -155,13 +155,13 @@ when you have unrestricted access to memory. As an example, here's some Ruby
 code:
 
 ```{ruby}
-v = [];
+v = []
 
-v.push("Hello");
+v.push("Hello")
 
-x = v[0];
+x = v[0]
 
-v.push("world");
+v.push("world")
 
 puts x
 ```