Skip to content

Commit ce50e4a

Browse files
committed
Cargo.toml: bin names match directory name
Instead of 1, there is 01, just like directory names are.
1 parent f12bf29 commit ce50e4a

File tree

1 file changed

+23
-23
lines changed

1 file changed

+23
-23
lines changed

Cargo.toml

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -5,73 +5,73 @@ edition = "2021"
55
authors = ["Andrzej Głuszak", "Piotr Wojtczak"]
66

77
[[bin]]
8-
name = "1_errors_demo"
8+
name = "01_errors_demo"
99
path = "content/lessons/old/2021L/01_introduction/errors_demo.rs"
1010
[[bin]]
11-
name = "1_hello_world"
11+
name = "01_hello_world"
1212
path = "content/lessons/old/2021L/01_introduction/hello_world.rs"
1313
[[bin]]
14-
name = "1_conditionals"
14+
name = "01_conditionals"
1515
path = "content/lessons/old/2021L/01_introduction/conditionals.rs"
1616
[[bin]]
17-
name = "1_functions"
17+
name = "01_functions"
1818
path = "content/lessons/old/2021L/01_introduction/functions.rs"
1919
[[bin]]
20-
name = "1_loops"
20+
name = "01_loops"
2121
path = "content/lessons/old/2021L/01_introduction/loops.rs"
2222
[[bin]]
23-
name = "1_variables"
23+
name = "01_variables"
2424
path = "content/lessons/old/2021L/01_introduction/variables.rs"
2525
[[bin]]
26-
name = "3_data_types"
26+
name = "03_data_types"
2727
path = "content/lessons/old/2021L/03_data_types/data_types.rs"
2828
[[bin]]
29-
name = "4_enums"
29+
name = "04_enums"
3030
path = "content/lessons/old/2021L/04_enums/enums.rs"
3131
[[bin]]
32-
name = "4_option"
32+
name = "04_option"
3333
path = "content/lessons/old/2021L/04_enums/option.rs"
3434
[[bin]]
35-
name = "4_pattern_matching"
35+
name = "04_pattern_matching"
3636
path = "content/lessons/old/2021L/04_enums/pattern_matching.rs"
3737
[[bin]]
38-
name = "4_result"
38+
name = "04_result"
3939
path = "content/lessons/old/2021L/04_enums/result.rs"
4040
[[bin]]
41-
name = "5_test"
41+
name = "05_test"
4242
path = "content/lessons/old/2021L/05_tests/test.rs"
4343
[[bin]]
44-
name = "6_basic_traits"
44+
name = "06_basic_traits"
4545
path = "content/lessons/old/2021L/06_types_reasoning/basic_trait.rs"
4646
[[bin]]
47-
name = "6_generic_largest"
47+
name = "06_generic_largest"
4848
path = "content/lessons/old/2021L/06_types_reasoning/generic_largest.rs"
4949
[[bin]]
50-
name = "6_generics"
50+
name = "06_generics"
5151
path = "content/lessons/old/2021L/06_types_reasoning/generics.rs"
5252
[[bin]]
53-
name = "6_non_generic"
53+
name = "06_non_generic"
5454
path = "content/lessons/old/2021L/06_types_reasoning/non_generic.rs"
5555
[[bin]]
56-
name = "6_trait_default"
56+
name = "06_trait_default"
5757
path = "content/lessons/old/2021L/06_types_reasoning/trait_default.rs"
5858
[[bin]]
59-
name = "6_lifetimes_basic"
59+
name = "06_lifetimes_basic"
6060
path = "content/lessons/old/2021L/06_types_reasoning/lifetimes_basic.rs"
6161
[[bin]]
62-
name = "6_lifetimes_elision"
62+
name = "06_lifetimes_elision"
6363
path = "content/lessons/old/2021L/06_types_reasoning/lifetimes_elision.rs"
6464
[[bin]]
65-
name = "6_generic_fun"
65+
name = "06_generic_fun"
6666
path = "content/lessons/old/2021L/06_types_reasoning/generics_fun.rs"
6767
[[bin]]
68-
name = "6_static_dynamic_dispatch"
68+
name = "06_static_dynamic_dispatch"
6969
path = "content/lessons/old/2021L/06_types_reasoning/static_dynamic_dispatch.rs"
7070
[[bin]]
71-
name = "7_constructor"
71+
name = "07_constructor"
7272
path = "content/lessons/old/2021L/07_feedback/constructor.rs"
7373
[[bin]]
74-
name = "7_number_conversions"
74+
name = "07_number_conversions"
7575
path = "content/lessons/old/2021L/07_feedback/number_conversions.rs"
7676
[[bin]]
7777
name = "10_box"

0 commit comments

Comments
 (0)