1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2024-12-12 11:14:55 +02:00
rustlings/exercises/functions
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
..
functions1.rs Address feedback 2019-11-11 17:47:45 +01:00
functions2.rs fix(functions2): Change signature to trigger precise error message: (#605) 2020-12-27 12:36:38 +01:00
functions3.rs Merge branch 'master' into refactor-hints 2019-11-11 17:21:06 +01:00
functions4.rs Created consistent money unit 2019-12-29 19:15:32 -05:00
functions5.rs Merge branch 'master' into refactor-hints 2019-11-11 17:21:06 +01:00
README.md chore: Fix a couple broken book links 2019-06-11 07:13:05 -07:00

Functions

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

Book Sections