Skip to content
Snippets Groups Projects
Commit 74264b80 authored by orestis.malaspin's avatar orestis.malaspin
Browse files

Changed order of chapters and added hints for content

parent a0ddf650
No related branches found
No related tags found
1 merge request!38Changed order of chapters and added hints for content
......@@ -66,11 +66,12 @@ Le cours théorique est découpé comme suit:
4. Ownership, Borrowing.
5. Modules et visibilité.
6. Tests, documentation, outils variés (rustfmt, clippy, etc).
7. Gestion d'erreurs (Option, Result)
8. Collections (Vec, HashMap, etc)
9. Itérateurs, fonctions d'ordre supérieur, lambdas.
10. Smart pointeurs (Box, RefCell, etc.), mémoire.
7. Vec, Gestion d'erreurs (Option, Result). Intro basique à l'io
8. Itérateurs
9. String,
10. Smart pointeurs (Rc principalement) et mutabilité intérieure.
11. CLI, I/O.
12. Unsafe Rust et FFI.
12. Unsafe Rust, Box, etc.
13. FFI
<a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/"><img alt="Licence Creative Commons" style="border-width:0" src="https://i.creativecommons.org/l/by-sa/4.0/88x31.png" /></a><br />Ce(tte) œuvre est mise à disposition selon les termes de la <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/">Licence Creative Commons Attribution - Partage dans les Mêmes Conditions 4.0 International</a>.
......@@ -9,3 +9,8 @@
- [Part 04](./part04.md)
- [Part 05](./part05.md)
- [Part 06](./part06.md)
- [Part 07](./part07.md)
- [Part 08](./part08.md)
- [Part 09](./part09.md)
- [Part 10](./part10.md)
- [Part 11](./part11.md)
......@@ -8,9 +8,7 @@ fn main() -> Result<(), String> {
};
println!("Among the Somethings in the list:");
io::print_tab(&tab);
// There are alternatives to access fields of tuples
let min = find_min(&tab);
// The first field is not used therefore we can replace it with "_"
min.print();
Ok(())
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment