@@ -6,85 +6,76 @@ authors = ["Andrzej Głuszak", "Piotr Wojtczak"]
6
6
7
7
[[bin ]]
8
8
name = " 01_errors_demo"
9
- path = " content/lessons/old/2021L/ 01_introduction/errors_demo.rs"
9
+ path = " content/lessons/01_introduction/errors_demo.rs"
10
10
[[bin ]]
11
11
name = " 01_hello_world"
12
- path = " content/lessons/old/2021L/ 01_introduction/hello_world.rs"
12
+ path = " content/lessons/01_introduction/hello_world.rs"
13
13
[[bin ]]
14
14
name = " 01_conditionals"
15
- path = " content/lessons/old/2021L/ 01_introduction/conditionals.rs"
15
+ path = " content/lessons/01_introduction/conditionals.rs"
16
16
[[bin ]]
17
17
name = " 01_functions"
18
- path = " content/lessons/old/2021L/ 01_introduction/functions.rs"
18
+ path = " content/lessons/01_introduction/functions.rs"
19
19
[[bin ]]
20
20
name = " 01_loops"
21
- path = " content/lessons/old/2021L/ 01_introduction/loops.rs"
21
+ path = " content/lessons/01_introduction/loops.rs"
22
22
[[bin ]]
23
23
name = " 01_variables"
24
- path = " content/lessons/old/2021L/ 01_introduction/variables.rs"
24
+ path = " content/lessons/01_introduction/variables.rs"
25
25
[[bin ]]
26
26
name = " 03_data_types"
27
- path = " content/lessons/old/2021L/ 03_data_types/data_types.rs"
27
+ path = " content/lessons/03_data_types/data_types.rs"
28
28
[[bin ]]
29
- name = " 04_enums "
30
- path = " content/lessons/old/2021L/04_enums /enums.rs"
29
+ name = " 03_enums "
30
+ path = " content/lessons/03_data_types /enums.rs"
31
31
[[bin ]]
32
- name = " 04_option "
33
- path = " content/lessons/old/2021L/04_enums /option.rs"
32
+ name = " 03_option "
33
+ path = " content/lessons/03_data_types /option.rs"
34
34
[[bin ]]
35
- name = " 04_pattern_matching "
36
- path = " content/lessons/old/2021L/04_enums /pattern_matching.rs"
35
+ name = " 03_pattern_matching "
36
+ path = " content/lessons/03_data_types /pattern_matching.rs"
37
37
[[bin ]]
38
- name = " 04_result "
39
- path = " content/lessons/old/2021L/04_enums /result.rs"
38
+ name = " 03_result "
39
+ path = " content/lessons/03_data_types /result.rs"
40
40
[[bin ]]
41
- name = " 05_test "
42
- path = " content/lessons/old/2021L/05_tests/test .rs"
41
+ name = " 05_basic_traits "
42
+ path = " content/lessons/05_types_reasoning/basic_trait .rs"
43
43
[[bin ]]
44
- name = " 06_basic_traits"
45
- path = " content/lessons/old/2021L/06_types_reasoning/basic_trait.rs"
46
- [[bin ]]
47
- name = " 06_generic_largest"
48
- path = " content/lessons/old/2021L/06_types_reasoning/generic_largest.rs"
44
+ name = " 05_generic_largest"
45
+ path = " content/lessons/05_types_reasoning/generic_largest.rs"
49
46
[[bin ]]
50
47
name = " 06_generics"
51
- path = " content/lessons/old/2021L/06_types_reasoning/generics.rs"
52
- [[bin ]]
53
- name = " 06_non_generic"
54
- path = " content/lessons/old/2021L/06_types_reasoning/non_generic.rs"
55
- [[bin ]]
56
- name = " 06_trait_default"
57
- path = " content/lessons/old/2021L/06_types_reasoning/trait_default.rs"
48
+ path = " content/lessons/05_types_reasoning/generics.rs"
58
49
[[bin ]]
59
- name = " 06_lifetimes_basic "
60
- path = " content/lessons/old/2021L/06_types_reasoning/lifetimes_basic .rs"
50
+ name = " 05_non_generic "
51
+ path = " content/lessons/05_types_reasoning/non_generic .rs"
61
52
[[bin ]]
62
- name = " 06_lifetimes_elision "
63
- path = " content/lessons/old/2021L/06_types_reasoning/lifetimes_elision .rs"
53
+ name = " 05_trait_default "
54
+ path = " content/lessons/05_types_reasoning/trait_default .rs"
64
55
[[bin ]]
65
- name = " 06_generic_fun "
66
- path = " content/lessons/old/2021L/06_types_reasoning/generics_fun .rs"
56
+ name = " 05_lifetimes_basic "
57
+ path = " content/lessons/05_types_reasoning/lifetimes_basic .rs"
67
58
[[bin ]]
68
- name = " 06_static_dynamic_dispatch "
69
- path = " content/lessons/old/2021L/06_types_reasoning/static_dynamic_dispatch .rs"
59
+ name = " 05_lifetimes_elision "
60
+ path = " content/lessons/05_types_reasoning/lifetimes_elision .rs"
70
61
[[bin ]]
71
- name = " 07_constructor "
72
- path = " content/lessons/old/2021L/07_feedback/constructor .rs"
62
+ name = " 05_generic_fun "
63
+ path = " content/lessons/05_types_reasoning/generics_fun .rs"
73
64
[[bin ]]
74
- name = " 07_number_conversions "
75
- path = " content/lessons/old/2021L/07_feedback/number_conversions .rs"
65
+ name = " 05_static_dynamic_dispatch "
66
+ path = " content/lessons/05_types_reasoning/static_dynamic_dispatch .rs"
76
67
[[bin ]]
77
- name = " 10_box "
78
- path = " content/lessons/old/2021L/10_smart_pointers /box.rs"
68
+ name = " 07_box "
69
+ path = " content/lessons/07_smart_pointers /box.rs"
79
70
[[bin ]]
80
- name = " 10_deref_coercion "
81
- path = " content/lessons/old/2021L/10_smart_pointers /deref_coercion.rs"
71
+ name = " 07_deref_coercion "
72
+ path = " content/lessons/07_smart_pointers /deref_coercion.rs"
82
73
[[bin ]]
83
- name = " 10_ref_count "
84
- path = " content/lessons/old/2021L/10_smart_pointers /ref_count.rs"
74
+ name = " 07_ref_count "
75
+ path = " content/lessons/07_smart_pointers /ref_count.rs"
85
76
[[bin ]]
86
- name = " 10_weak_ref "
87
- path = " content/lessons/old/2021L/10_smart_pointers /weak_ref.rs"
77
+ name = " 07_weak_ref "
78
+ path = " content/lessons/07_smart_pointers /weak_ref.rs"
88
79
89
80
[dependencies ]
90
81
rand = " 0.8"
0 commit comments