File tree
569 files changed
+27759
-14749
lines changed- .github/workflows
- cairo-verify
- install-mdbook
- verify-cairo-programs
- cairo-verify
- src
- listings
- ch02-99-common-collections
- no_listing_00_array_new_append
- src
- no_listing_01_array_pop_front
- src
- no_listing_02_array_at
- src
- no_listing_03_array_get
- src
- no_listing_04_array_with_enums
- src
- no_listing_05_array_span
- src
- no_listing_07_intro
- src
- no_listing_08_intro_rewrite
- src
- no_listing_09_entries
- src
- no_listing_10_custom_methods
- src
- no_listing_11_dict_of_complex
- src
- no_listing_12_dict_struct_member
- src
- ch02-common-programming-concepts
- listing_01_statement
- src
- no_listing_01_variables_are_immutable
- src
- no_listing_02_adding_mut
- src
- no_listing_03_shadowing
- src
- no_listing_04_shadowing_different_type
- src
- no_listing_05_mut_cant_change_type
- src
- no_listing_06_data_types
- src
- no_listing_07_integer_types
- src
- no_listing_08_numeric_operations
- src
- no_listing_09_boolean_type
- src
- no_listing_10_short_string_type
- src
- no_listing_11_type_casting
- src
- no_listing_12_tuple_type
- src
- no_listing_13_tuple_destructuration
- src
- no_listing_14_tuple_types
- src
- no_listing_15_functions
- src
- no_listing_16_single_param
- src
- no_listing_17_multiple_params
- src
- no_listing_18_statements_dont_return_values
- src
- no_listing_19_blocks_are_expressions
- src
- no_listing_20_function_return_values
- src
- no_listing_21_function_return_values_2
- src
- no_listing_22_function_return_invalid
- src
- no_listing_23_comments
- src
- no_listing_24_if
- src
- no_listing_25_else_if
- src
- no_listing_26_if_let
- src
- no_listing_27_loop
- src
- no_listing_28_loop_break
- src
- no_listing_29_loop_return_values
- src
- no_listing_30_named_parameters
- src
- ch03-understanding-ownership
- listing_03_01
- src
- listing_03_03
- src
- listing_03_04
- src
- listing_03_05
- src
- listing_03_06
- src
- listing_03_07
- src
- no_listing_01_array
- src
- no_listing_02_pass_array_by_value
- src
- no_listing_03_copy_trait
- src
- no_listing_04_no_drop_derive_fails
- src
- no_listing_05_drop_derive_compiles
- src
- no_listing_06_no_destruct_compile_fails
- src
- no_listing_07_destruct_compiles
- src
- no_listing_08_array_clone
- src
- no_listing_09_snapshots
- src
- no_listing_10_desnap
- src
- ch05-enums-and-pattern-matching
- listing_05_03
- src
- listing_05_04
- src
- listing_05_05
- src
- no_listing_01_enum_example
- src
- no_listing_02_enum_message
- src
- no_listing_03_enum_option
- src
- no_listing_04_match_arms
- src
- no_listing_05_print_enum
- src
- no_listing_06_match_zero
- src
- no_listing_07_missing_match_arm
- src
- ch06-managing-cairo-projects-with-packages-crates-and-modules
- listing_06_01
- src
- listing_06_03
- src
- listing_06_04
- src
- listing_06_05
- src
- listing_06_06
- src
- listing_06_07
- src
- listing_06_08
- src
- listing_06_09
- src
- listing_06_10
- src
- listing_06_11
- src
- listing_06_12
- src
- listing_06_13
- src
- no_listing_01_lib
- src
- no_listing_02_garden
- src
- ch07-generic-types-and-traits
- no_listing_01_missing_tdrop
- src
- no_listing_02_with_tdrop
- src
- no_listing_03_missing_tcopy
- src
- no_listing_04_with_tcopy
- src
- no_listing_05_derive_generics
- src
- no_listing_06_drop_explicit
- src
- no_listing_07_two_generics
- src
- no_listing_08_option
- src
- no_listing_09_result
- src
- no_listing_10_generic_methods
- src
- no_listing_11_constrained_generics
- src
- no_listing_12_not_compiling
- src
- no_listing_13_compiling
- src
- no_listing_14_traits
- src
- no_listing_15_generate_trait
- src
- no_listing_16_generic_traits
- src
- ch08-testing-cairo-programs
- listing_08_01_02
- src
- listing_08_03
- src
- listing_08_06
- src
- listing_08_08
- src
- listing_08_09
- src
- listing_08_10
- src
- no_listing_01_meaningful_name
- src
- no_listing_02_wrong_can_hold_impl
- src
- no_listing_03_wrong_new_impl
- src
- no_listing_04_new_bug
- src
- no_listing_05_ignore_tests
- src
- no_listing_06_cfg_attr
- src
- no_listing_07_integration_test
- src
- ch09-error-handling
- listing_01
- src
- listing_02
- src
- no_listing_01_panic
- src
- no_listing_02_with_felt252
- src
- no_listing_03_nopanic
- src
- no_listing_04_nopanic_wrong
- src
- no_listing_05_panic_with
- src
- no_listing_06_assert
- src
- no_listing_07_result_enum
- src
- no_listing_08_result_trait
- src
- ch10-advanced-features
- no_listing_01_potions
- src
- no_listing_02_array_macro
- src
- ch99-starknet-smart-contracts
- listing_99_01_bis_wrong_impl
- src
- listing_99_01
- src
- listing_99_02
- src
- listing_99_03_example_contract
- src
- listing_99_04_L1_L2_messaging
- src
- listing_99_04_interface
- src
- listing_99_05_dispatcher_trait
- src
- listing_99_06_sample_contract
- src
- listing_99_07_library_dispatcher
- src
- listing_99_08_using_library_dispatcher
- src
- listing_99_09_call_contract_syscall
- src
- listing_99_10_assert_balance
- src
- listing_99_11_simple_access_control
- src
- listing_99_12_vote_contract
- src
- listing_99_13_storage_packing
- src
- no_listing_01_storage_mapping
- src
- no_listing_99_02_explicit_internal_fn
- src
- no_listing_event_trait
- src
- mdbook-cairo
- scripts
- src
- po
- src
- theme
- fonts
- js
- pkg
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
569 files changed
+27759
-14749
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
126 | 162 | | |
127 | 163 | | |
128 | 164 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
39 | 42 | | |
40 | 43 | | |
41 | 44 | | |
42 | 45 | | |
43 | 46 | | |
44 | 47 | | |
45 | 48 | | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
46 | 54 | | |
47 | 55 | | |
48 | 56 | | |
49 | 57 | | |
50 | 58 | | |
51 | 59 | | |
52 | | - | |
53 | 60 | | |
54 | 61 | | |
55 | 62 | | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | 63 | | |
60 | 64 | | |
61 | 65 | | |
62 | 66 | | |
63 | 67 | | |
64 | 68 | | |
65 | | - | |
| 69 | + | |
66 | 70 | | |
67 | 71 | | |
68 | 72 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
0 commit comments