1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2025-01-18 03:56:41 +02:00
Axel Viala 0ef95947cc
fix(functions2): Change signature to trigger precise error message: (#605)
Now trigger this error:
```
error: expected type, found `)`
  --> exercises/functions/functions2.rs:10:16
   |
10 | fn call_me(num:) {
   |                ^ expected type

```
2020-12-27 12:36:38 +01:00
..
2019-11-11 17:47:45 +01:00
2019-12-29 19:15:32 -05:00

Functions

Here, you'll learn how to write functions and how Rust's compiler can trace things way back.

Book Sections