Skip to content

Commit 795b6e3

Browse files
author
marisa
committed
fix(info): Fix trailing newlines for hints
1 parent 9bdb0a1 commit 795b6e3

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

info.toml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,7 @@ a value based on its operand, and statements simply return a () type which behav
105105
We want to return a value of `i32` type from the `square` function, but it is returning a `()` type...
106106
They are not the same. There are two solutions:
107107
1. Add a `return` ahead of `num * num;`
108-
2. remove `;`, make it to be `num * num`
109-
"""
108+
2. remove `;`, make it to be `num * num`"""
110109

111110
# TEST 1
112111

@@ -156,8 +155,7 @@ that you want to end up in the slice.
156155
If you're curious why the right hand of the `==` comparison does not
157156
have an ampersand for a reference since the left hand side is a
158157
reference, take a look at the Deref coercions section of the book:
159-
https://doc.rust-lang.org/book/ch15-02-deref.html
160-
"""
158+
https://doc.rust-lang.org/book/ch15-02-deref.html"""
161159

162160
[[exercises]]
163161
name = "primitive_types5"

0 commit comments

Comments
 (0)