summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarisa <mokou@posteo.de>2019-11-11 16:56:39 +0100
committermarisa <mokou@posteo.de>2019-11-11 16:56:39 +0100
commit795b6e348094a898e9227a14f6232f7bb94c8d31 (patch)
treeb3bdb5369f07a5522785ba1b5b32457529ecddea
parent9bdb0a12e45a8e9f9f6a4bd4a9c172c5376c7f60 (diff)
fix(info): Fix trailing newlines for hints
-rw-r--r--info.toml6
1 files changed, 2 insertions, 4 deletions
diff --git a/info.toml b/info.toml
index 5293cb4..84d5821 100644
--- a/info.toml
+++ b/info.toml
@@ -105,8 +105,7 @@ a value based on its operand, and statements simply return a () type which behav
We want to return a value of `i32` type from the `square` function, but it is returning a `()` type...
They are not the same. There are two solutions:
1. Add a `return` ahead of `num * num;`
-2. remove `;`, make it to be `num * num`
-"""
+2. remove `;`, make it to be `num * num`"""
# TEST 1
@@ -156,8 +155,7 @@ that you want to end up in the slice.
If you're curious why the right hand of the `==` comparison does not
have an ampersand for a reference since the left hand side is a
reference, take a look at the Deref coercions section of the book:
-https://doc.rust-lang.org/book/ch15-02-deref.html
-"""
+https://doc.rust-lang.org/book/ch15-02-deref.html"""
[[exercises]]
name = "primitive_types5"