# Functions Here, you'll learn how to write functions and how the Rust compiler can help you debug errors even in more complex code. You will also learn what is the difference with closures. ## Further information - [How Functions Work](https://doc.rust-lang.org/book/ch03-03-how-functions-work.html) - [Closures](https://doc.rust-lang.org/book/ch13-01-closures.html)