mirror of https://github.com/rust-lang/rustlings
Auto merge of #238 - ageorgou:functions4-update, r=fmoko
Update line numbers in hints and outdated comment
In functions4, the missing code is in line 14 in the latest version:
```rust
error: expected type, found `{`
--> exercises/functions/functions4.rs:14:30
|
14 | fn sale_price(price: i32) -> {
| ^ expected type
error: aborting due to previous error
```
but the hint points to line 12. This is due to a recent change in 2cdd61294f
.
Also includes similar updates for strings2 and primitive_types4.
pull/239/head
commit
cf38f03459
Loading…
Reference in New Issue