├── .gitignore ├── README.md ├── assets ├── GithubDownload.png ├── OpenFolder.png ├── RustCrab.png └── SampleFolder.png ├── clean_folders.sh ├── closures ├── .vscode │ ├── extensions.json │ └── settings.json ├── Cargo.lock ├── Cargo.toml ├── assets │ └── Section Review.pdf └── src │ ├── bin │ ├── closure_shortcuts.rs │ ├── closures_that_capture_immutable_references.rs │ ├── closures_that_capture_mutable_references.rs │ ├── closures_with_ownership.rs │ ├── defining_a_method_that_accepts_a_closure_I.rs │ ├── defining_a_method_that_accepts_a_closure_II.rs │ ├── intro_to_closures.rs │ ├── nested_functions.rs │ ├── passing_in_a_function_to_fn_trait_parameter.rs │ ├── the_fn_trait.rs │ ├── the_move_keyword.rs │ ├── the_string_retain_method.rs │ └── the_unwrap_or_else_method.rs │ ├── coding_challenge.rs │ └── main.rs ├── control-flow ├── .gitignore ├── .vscode │ ├── extensions.json │ └── settings.json ├── Cargo.lock ├── Cargo.toml ├── assets │ └── Section Review.pdf └── src │ ├── bin │ ├── assigning_result_of_if_statement_to_variable.rs │ ├── recursion.rs │ ├── the_continue_keyword.rs │ ├── the_else_if_statement.rs │ ├── the_else_statement.rs │ ├── the_if_statement.rs │ ├── the_loop_and_break_keywords.rs │ ├── the_match_statement.rs │ ├── the_match_statement_with_multiple_values_and_conditionals.rs │ ├── underscore_in_a_match_arm.rs │ └── while_loop.rs │ ├── coding_challenge.rs │ └── main.rs ├── data-types ├── .gitignore ├── .vscode │ ├── extensions.json │ └── settings.json ├── Cargo.lock ├── Cargo.toml ├── assets │ ├── Intro to Data Types.pdf │ ├── Section Review.pdf │ └── The Display Trait.pdf └── src │ ├── bin │ ├── and_with_ampersand_operators.rs │ ├── augmented_assignment_operator.rs │ ├── boolean_inversion_with_exclamation_mark.rs │ ├── casting_types_with_the_as_keyword.rs │ ├── equality_and_inequality_operators.rs │ ├── floating_point_types.rs │ ├── formatting_floats_with_format_specifiers.rs │ ├── integers.rs │ ├── intro_to_booleans.rs │ ├── intro_to_generics.rs │ ├── intro_to_methods.rs │ ├── math_operations.rs │ ├── or_with_vertical_pipes.rs │ ├── ranges_and_range_iteration.rs │ ├── reading_and_writing_array_elements.rs │ ├── strings_and_raw_strings.rs │ ├── the_array_type.rs │ ├── the_character_type.rs │ ├── the_dbg_macro.rs │ ├── the_debug_trait.rs │ ├── the_display_trait.rs │ ├── the_tuple_type.rs │ ├── the_usize_and_isize_types.rs │ └── using_underscore_as_visual_separator_for_numbers.rs │ ├── coding_challenge.rs │ └── main.rs ├── datetimes ├── .vscode │ ├── extensions.json │ └── settings.json ├── Cargo.lock ├── Cargo.toml ├── assets │ └── Section Review.pdf └── src │ ├── bin │ ├── adding_and_subtracting_time.rs │ ├── converting_timezones.rs │ ├── the_date_time_struct.rs │ ├── the_format_method.rs │ ├── the_naive_date_struct.rs │ ├── the_naive_time_and_naive_date_time_structs.rs │ ├── the_parse_from_str_function.rs │ └── the_time_delta_struct.rs │ ├── coding_challenge.rs │ └── main.rs ├── enums ├── .gitignore ├── .vscode │ ├── extensions.json │ └── settings.json ├── Cargo.lock ├── Cargo.toml ├── assets │ └── Section Review.pdf └── src │ ├── bin │ ├── a_brief_discussion_on_enum_memory.rs │ ├── defining_methods_on_enums.rs │ ├── enum_with_associated_values_I.rs │ ├── enum_with_associated_values_II.rs │ ├── intro_to_enums.rs │ ├── nesting_enums_in_enums.rs │ ├── struct_variants.rs │ ├── the_if_let_construct.rs │ ├── the_let_else_construct.rs │ ├── the_match_keyword_I.rs │ ├── the_match_keyword_II.rs │ ├── the_match_keyword_III.rs │ ├── the_match_keyword_IV.rs │ └── the_match_keyword_V.rs │ ├── coding_challenge.rs │ └── main.rs ├── error-handling ├── .gitignore ├── .vscode │ ├── extensions.json │ └── settings.json ├── Cargo.lock ├── Cargo.toml ├── adventure.txt ├── assets │ └── Section Review.pdf └── src │ ├── bin │ ├── asking_the_user_for_input.rs │ ├── opening_a_file.rs │ ├── propagating_errors.rs │ ├── reading_the_files_contents.rs │ ├── standard_error.rs │ ├── the_panic_macro.rs │ ├── the_process_module_and_the_exit_function.rs │ ├── the_question_mark_operator.rs │ ├── the_read_to_string_associated_function.rs │ ├── understanding_error_type_redeclaration.rs │ └── using_question_mark_with_option.rs │ ├── coding_challenge.rs │ └── main.rs ├── functions ├── .gitignore ├── .vscode │ ├── extensions.json │ └── settings.json ├── Cargo.lock ├── Cargo.toml ├── assets │ └── Section Review.pdf └── src │ ├── bin │ ├── blocks_in_functions.rs │ ├── explicit_return_values.rs │ ├── implicit_return_values.rs │ ├── intro_to_functions.rs │ ├── parameters_and_arguments.rs │ └── the_unit_as_a_return_type.rs │ ├── coding_challenge.rs │ └── main.rs ├── generics ├── .gitignore ├── .vscode │ ├── extensions.json │ └── settings.json ├── Cargo.lock ├── Cargo.toml ├── assets │ └── Section Review.pdf └── src │ ├── bin │ ├── generics_and_impl_blocks_I.rs │ ├── generics_and_impl_blocks_II.rs │ ├── generics_in_enums.rs │ ├── generics_in_structs.rs │ ├── intro_to_generics.rs │ ├── multiple_generics.rs │ └── the_turbofish_operator.rs │ ├── coding_challenge.rs │ └── main.rs ├── getting-started ├── Intro to Rust.pdf ├── Section Review.pdf └── The Rust Compiler.pdf ├── hash-maps ├── .gitignore ├── .vscode │ ├── extensions.json │ └── settings.json ├── Cargo.lock ├── Cargo.toml ├── assets │ └── Section Review.pdf └── src │ ├── bin │ ├── access_a_value_by_key.rs │ ├── create_a_hashmap_with_new_function.rs │ ├── hashmaps_and_ownership.rs │ ├── hashset_operations.rs │ ├── overwriting_a_value_with_an_existing_key.rs │ ├── the_entry_method.rs │ ├── the_hashset.rs │ └── the_remove_method.rs │ ├── coding_challenge.rs │ └── main.rs ├── iterators ├── .vscode │ ├── extensions.json │ └── settings.json ├── Cargo.lock ├── Cargo.toml ├── assets │ ├── Section Review.pdf │ └── The Iterator and IntoIterator Traits.pdf └── src │ ├── bin │ ├── collecting_command_line_arguments_i.rs │ ├── collecting_command_line_arguments_ii.rs │ ├── exhausting_the_iterator.rs │ ├── hashmap_iteration.rs │ ├── manual_iteration.rs │ ├── project_wordle.rs │ ├── reading_directory.rs │ ├── solving_a_problem_with_iteration.rs │ ├── string_iteration.rs │ ├── the_any_and_all_methods.rs │ ├── the_cloned_method.rs │ ├── the_collect_method.rs │ ├── the_enumerate_method.rs │ ├── the_filter_and_find_methods_i.rs │ ├── the_filter_and_find_methods_ii.rs │ ├── the_filter_map_method.rs │ ├── the_flat_map_method.rs │ ├── the_flatten_method.rs │ ├── the_fold_method.rs │ ├── the_for_each_method.rs │ ├── the_for_loop_with_iterator.rs │ ├── the_from_iterator_trait.rs │ ├── the_into_iterator_trait_in_action.rs │ ├── the_iter_method.rs │ ├── the_iter_mut_method.rs │ ├── the_last_nth_nth_back_and_position_methods.rs │ ├── the_lines_method.rs │ ├── the_map_method_i.rs │ ├── the_map_method_ii.rs │ ├── the_partition_method.rs │ ├── the_reduce_method.rs │ ├── the_sort_and_sort_by_key_methods.rs │ ├── the_sum_product_max_min_and_count_methods.rs │ ├── the_take_rev_skip_and_step_by_methods.rs │ ├── the_zip_method.rs │ └── why_iterator_can_be_immutable.rs │ ├── coding_challenge.rs │ └── main.rs ├── lifetimes ├── .gitignore ├── .vscode │ ├── extensions.json │ └── settings.json ├── Cargo.lock ├── Cargo.toml ├── assets │ ├── Intro to Generic Lifetimes.pdf │ └── Section Review.pdf └── src │ ├── bin │ ├── concrete_lifetimes_for_references.rs │ ├── concrete_lifetimes_for_values_I.rs │ ├── concrete_lifetimes_for_values_II.rs │ ├── functions_cannot_return_references_to_owned_values_or_parameters.rs │ ├── intro_to_generic_lifetimes.rs │ ├── invalid_lifetimes_I.rs │ ├── invalid_lifetimes_II.rs │ ├── lifetime_elision_rules_I.rs │ ├── lifetime_elision_rules_II.rs │ ├── lifetimes_and_referents.rs │ ├── lifetimes_in_structs.rs │ ├── multiple_lifetimes.rs │ ├── multiple_parameters_I.rs │ ├── multiple_parameters_II.rs │ ├── non_lexical_lifetimes.rs │ ├── references_as_function_parameters.rs │ └── the_static_lifetime.rs │ ├── coding_challenge.rs │ └── main.rs ├── option-and-result-enums ├── .gitignore ├── .vscode │ ├── extensions.json │ └── settings.json ├── Cargo.lock ├── Cargo.toml ├── assets │ ├── Section Review.pdf │ ├── The Option Enum.pdf │ └── The Result Enum.pdf └── src │ ├── bin │ ├── building_option_from_scratch.rs │ ├── nuances_of_unwrap_method.rs │ ├── real_example_of_option_enum.rs │ ├── real_example_of_result_enum.rs │ ├── result_methods.rs │ ├── returning_a_result_enum_from_a_function.rs │ ├── returning_an_option_enum_from_a_function.rs │ ├── the_match_keyword_with_option_enum.rs │ ├── the_option_enum.rs │ ├── the_result_enum.rs │ ├── the_unwrap_and_except_methods.rs │ ├── the_unwrap_or_method.rs │ ├── the_while_let_construct.rs │ └── top_level_option_variants.rs │ ├── coding_challenge.rs │ └── main.rs ├── ownership ├── .gitignore ├── .vscode │ ├── extensions.json │ └── settings.json ├── Cargo.lock ├── Cargo.toml ├── assets │ ├── Intro to Ownership.pdf │ ├── Ownership -Section Review.pdf │ ├── References & Borrowing - Section Review.pdf │ └── The Stack and the Heap.pdf └── src │ ├── bin │ ├── String_&String_str_and_&str.rs │ ├── dangling_references.rs │ ├── immutable_and_mutable_reference_parameters.rs │ ├── moves_and_ownership.rs │ ├── multiple_immutable_references.rs │ ├── mutable_parameters.rs │ ├── mutable_reference_restrictions.rs │ ├── ownership_and_function_parameters.rs │ ├── ownership_with_arrays_and_tuples.rs │ ├── ownership_with_immutable_and_mutable_references.rs │ ├── references_and_borrowing.rs │ ├── return_values_I.rs │ ├── return_values_II.rs │ ├── scope_and_ownership.rs │ ├── the_clone_method.rs │ ├── the_copy_trait.rs │ ├── the_copy_trait_with_references.rs │ ├── the_dereference_operator.rs │ ├── the_drop_function.rs │ ├── the_push_str_method_on_a_string_type.rs │ └── the_string_type.rs │ ├── coding_challenge_1.rs │ ├── coding_challenge_2.rs │ └── main.rs ├── random ├── .vscode │ ├── extensions.json │ └── settings.json ├── Cargo.lock ├── Cargo.toml ├── assets │ └── Section Review.pdf └── src │ ├── bin │ ├── randomizing_vector_elements_with_shuffle_method.rs │ └── the_threadrng_struct.rs │ ├── coding_challenge.rs │ └── main.rs ├── regular-expressions ├── .vscode │ ├── extensions.json │ └── settings.json ├── Cargo.lock ├── Cargo.toml ├── assets │ └── Section Review.pdf └── src │ ├── coding_challenge.rs │ └── main.rs ├── saladworks ├── .vscode │ ├── extensions.json │ └── settings.json ├── Cargo.lock ├── Cargo.toml └── src │ └── lib.rs ├── slices ├── .gitignore ├── .vscode │ ├── extensions.json │ └── settings.json ├── Cargo.lock ├── Cargo.toml ├── assets │ ├── Intro to Slices.pdf │ └── Section Review.pdf └── src │ ├── bin │ ├── array_slices.rs │ ├── create_a_string_slice_from_a_string.rs │ ├── deref_coercion_with_array_slices.rs │ ├── mutable_array_slices.rs │ ├── string_slice_lengths.rs │ ├── string_slices_and_string_literals.rs │ ├── string_slices_as_function_parameters.rs │ └── syntactic_shortcuts.rs │ ├── coding_challenge.rs │ └── main.rs ├── smart-pointers-box ├── .vscode │ ├── extensions.json │ └── settings.json ├── Cargo.lock ├── Cargo.toml ├── assets │ ├── Intro to Binary Search Trees.pdf │ ├── Intro to Linked Lists.pdf │ ├── Raw Pointers.pdf │ ├── Section Review.pdf │ └── Smart Pointers.pdf └── src │ ├── bin │ ├── box_vs_regular_references_I.rs │ ├── box_vs_regular_references_II.rs │ ├── creating_a_binary_search_tree.rs │ ├── custom_error_types.rs │ ├── defining_the_linked_list.rs │ ├── deref_coercions.rs │ ├── instantiating_the_linked_list.rs │ ├── raw_pointers_and_unsafe_code.rs │ ├── the_box_smart_pointer.rs │ ├── the_deref_and_derefmut_traits_I.rs │ ├── the_deref_and_derefmut_traits_II.rs │ ├── the_drop_trait.rs │ ├── trait_objects_I.rs │ ├── trait_objects_II_handling_multiple_errors.rs │ └── vectors_are_smart_pointers.rs │ ├── coding_challenge.rs │ └── main.rs ├── strings ├── .gitignore ├── .vscode │ ├── extensions.json │ └── settings.json ├── Cargo.lock ├── Cargo.toml ├── assets │ └── Section Review.pdf └── src │ ├── bin │ ├── collecting_user_input_with_read_line_method.rs │ ├── common_string_methods.rs │ ├── concatenation.rs │ ├── review_of_strings.rs │ └── the_format_macro.rs │ ├── coding_challenge.rs │ └── main.rs ├── structs ├── .gitignore ├── .vscode │ ├── extensions.json │ └── settings.json ├── Cargo.lock ├── Cargo.toml ├── assets │ └── Section Review.pdf └── src │ ├── bin │ ├── access_struct_fields.rs │ ├── associated_functions.rs │ ├── builder_pattern.rs │ ├── calling_methods_from_other_methods.rs │ ├── create_a_struct_instance.rs │ ├── create_structs_in_a_function.rs │ ├── define_a_struct.rs │ ├── defining_struct_methods.rs │ ├── deriving_debug_trait_for_struct.rs │ ├── methods_with_multiple_parameters.rs │ ├── multiple_impl_blocks.rs │ ├── overwrite_struct_fields.rs │ ├── passing_structs_into_a_function.rs │ ├── self_parameter_as_immutable_and_mutable_references_to_struct_instance.rs │ ├── self_parameter_as_mutable_struct_instance.rs │ ├── struct_field_initialization_shorthand_syntax.rs │ ├── struct_update_syntax.rs │ ├── tuple_structs.rs │ └── unit_like_structs.rs │ ├── coding_challenge.rs │ └── main.rs ├── testing ├── .vscode │ ├── extensions.json │ └── settings.json ├── Cargo.lock ├── Cargo.toml ├── assets │ └── Section Review.pdf └── src │ ├── bin │ ├── adding_movietheater_struct.rs │ ├── custom_failure_messages.rs │ ├── dependency_injection_i.rs │ ├── dependency_injection_ii.rs │ ├── documentation_tests.rs │ ├── fixtures_with_the_rstest_crate.rs │ ├── ignoring_tests.rs │ ├── integration_tests.rs │ ├── intro_to_testing.rs │ ├── showing_printed_output_from_passing_tests.rs │ ├── test_driven_development_tdd.rs │ ├── test_failures.rs │ ├── testing_inequality_with_the_assert_ne_macro.rs │ ├── the_assert_macro.rs │ ├── the_pretty_assertions_crate.rs │ ├── the_should_panic_macro.rs │ ├── the_tests_module_and_the_cfg_attribute.rs │ ├── trait_requirements_for_types_in_testing.rs │ ├── using_result_enum_in_tests.rs │ └── writing_a_test_and_the_assert_eq_macro.rs │ └── lib.rs ├── traits ├── .gitignore ├── .vscode │ ├── extensions.json │ └── settings.json ├── Cargo.lock ├── Cargo.toml ├── assets │ ├── Intro to Traits.pdf │ └── Section Review.pdf └── src │ ├── bin │ ├── a_preview_of_trait_objects.rs │ ├── associated_constants_in_a_trait.rs │ ├── associated_types_I.rs │ ├── associated_types_II.rs │ ├── calling_trait_method_from_another_method.rs │ ├── default_implementations.rs │ ├── defining_a_trait.rs │ ├── defining_equality_for_different_types.rs │ ├── formatter_methods.rs │ ├── getters_in_traits.rs │ ├── implementing_the_clone_trait.rs │ ├── implementing_the_copy_trait.rs │ ├── implementing_the_debug_trait.rs │ ├── implementing_the_display_trait_on_a_struct.rs │ ├── implementing_the_display_trait_on_an_enum.rs │ ├── implementing_the_drop_trait.rs │ ├── implementing_the_eq_trait.rs │ ├── implementing_the_partial_eq_trait_for_enums.rs │ ├── implementing_the_partial_ord_trait.rs │ ├── implementing_trait_for_struct_I.rs │ ├── implementing_trait_for_struct_II.rs │ ├── multiple_trait_bounds.rs │ ├── setters_in_traits.rs │ ├── supertraits.rs │ ├── trait_bound_syntax.rs │ ├── trait_bounds_to_conditionally_implement_methods.rs │ ├── trait_must_be_in_scope_to_use_its_definitions.rs │ ├── traits_as_function_return_values.rs │ ├── traits_for_function_parameter_constraints.rs │ ├── traits_with_generics.rs │ └── where_clauses.rs │ ├── coding_challenge.rs │ └── main.rs ├── variables-and-mutability ├── .gitignore ├── .vscode │ ├── extensions.json │ └── settings.json ├── Cargo.lock ├── Cargo.toml ├── assets │ └── Section Review.pdf └── src │ ├── bin │ ├── constants.rs │ ├── immutable_and_mutable_variables.rs │ ├── interpolation_with_curly_braces.rs │ ├── intro_to_compiler_directives.rs │ ├── intro_to_variables.rs │ ├── positional_arguments_to_println.rs │ ├── scopes.rs │ ├── type_aliases.rs │ ├── underscore_with_variables.rs │ └── variable_shadowing.rs │ ├── coding_challenge.rs │ └── main.rs ├── vectors ├── .gitignore ├── .vscode │ ├── extensions.json │ └── settings.json ├── Cargo.lock ├── Cargo.toml ├── assets │ └── Section Review.pdf └── src │ ├── bin │ ├── adding_and_removing_elements.rs │ ├── create_a_vector.rs │ ├── ownership_with_vectors.rs │ ├── reading_vector_elements.rs │ ├── the_get_method.rs │ ├── vector_capacity_behind_the_scenes.rs │ └── writing_vector_elements.rs │ ├── coding_challenge.rs │ └── main.rs └── warehouse ├── .vscode ├── extensions.json └── settings.json ├── Cargo.lock ├── Cargo.toml ├── assets ├── Packages and Crates.pdf └── Section Review.pdf └── src └── main.rs /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | **/target/ 3 | 4 | fitness/ 5 | playground/ -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/README.md -------------------------------------------------------------------------------- /assets/GithubDownload.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/assets/GithubDownload.png -------------------------------------------------------------------------------- /assets/OpenFolder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/assets/OpenFolder.png -------------------------------------------------------------------------------- /assets/RustCrab.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/assets/RustCrab.png -------------------------------------------------------------------------------- /assets/SampleFolder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/assets/SampleFolder.png -------------------------------------------------------------------------------- /clean_folders.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/clean_folders.sh -------------------------------------------------------------------------------- /closures/.vscode/extensions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/closures/.vscode/extensions.json -------------------------------------------------------------------------------- /closures/.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/closures/.vscode/settings.json -------------------------------------------------------------------------------- /closures/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/closures/Cargo.lock -------------------------------------------------------------------------------- /closures/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/closures/Cargo.toml -------------------------------------------------------------------------------- /closures/assets/Section Review.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/closures/assets/Section Review.pdf -------------------------------------------------------------------------------- /closures/src/bin/closure_shortcuts.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/closures/src/bin/closure_shortcuts.rs -------------------------------------------------------------------------------- /closures/src/bin/closures_that_capture_immutable_references.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/closures/src/bin/closures_that_capture_immutable_references.rs -------------------------------------------------------------------------------- /closures/src/bin/closures_that_capture_mutable_references.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/closures/src/bin/closures_that_capture_mutable_references.rs -------------------------------------------------------------------------------- /closures/src/bin/closures_with_ownership.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/closures/src/bin/closures_with_ownership.rs -------------------------------------------------------------------------------- /closures/src/bin/defining_a_method_that_accepts_a_closure_I.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/closures/src/bin/defining_a_method_that_accepts_a_closure_I.rs -------------------------------------------------------------------------------- /closures/src/bin/defining_a_method_that_accepts_a_closure_II.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/closures/src/bin/defining_a_method_that_accepts_a_closure_II.rs -------------------------------------------------------------------------------- /closures/src/bin/intro_to_closures.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/closures/src/bin/intro_to_closures.rs -------------------------------------------------------------------------------- /closures/src/bin/nested_functions.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/closures/src/bin/nested_functions.rs -------------------------------------------------------------------------------- /closures/src/bin/passing_in_a_function_to_fn_trait_parameter.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/closures/src/bin/passing_in_a_function_to_fn_trait_parameter.rs -------------------------------------------------------------------------------- /closures/src/bin/the_fn_trait.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/closures/src/bin/the_fn_trait.rs -------------------------------------------------------------------------------- /closures/src/bin/the_move_keyword.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/closures/src/bin/the_move_keyword.rs -------------------------------------------------------------------------------- /closures/src/bin/the_string_retain_method.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/closures/src/bin/the_string_retain_method.rs -------------------------------------------------------------------------------- /closures/src/bin/the_unwrap_or_else_method.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/closures/src/bin/the_unwrap_or_else_method.rs -------------------------------------------------------------------------------- /closures/src/coding_challenge.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/closures/src/coding_challenge.rs -------------------------------------------------------------------------------- /closures/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() {} 2 | -------------------------------------------------------------------------------- /control-flow/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | -------------------------------------------------------------------------------- /control-flow/.vscode/extensions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/control-flow/.vscode/extensions.json -------------------------------------------------------------------------------- /control-flow/.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/control-flow/.vscode/settings.json -------------------------------------------------------------------------------- /control-flow/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/control-flow/Cargo.lock -------------------------------------------------------------------------------- /control-flow/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/control-flow/Cargo.toml -------------------------------------------------------------------------------- /control-flow/assets/Section Review.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/control-flow/assets/Section Review.pdf -------------------------------------------------------------------------------- /control-flow/src/bin/assigning_result_of_if_statement_to_variable.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/control-flow/src/bin/assigning_result_of_if_statement_to_variable.rs -------------------------------------------------------------------------------- /control-flow/src/bin/recursion.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/control-flow/src/bin/recursion.rs -------------------------------------------------------------------------------- /control-flow/src/bin/the_continue_keyword.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/control-flow/src/bin/the_continue_keyword.rs -------------------------------------------------------------------------------- /control-flow/src/bin/the_else_if_statement.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/control-flow/src/bin/the_else_if_statement.rs -------------------------------------------------------------------------------- /control-flow/src/bin/the_else_statement.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/control-flow/src/bin/the_else_statement.rs -------------------------------------------------------------------------------- /control-flow/src/bin/the_if_statement.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/control-flow/src/bin/the_if_statement.rs -------------------------------------------------------------------------------- /control-flow/src/bin/the_loop_and_break_keywords.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/control-flow/src/bin/the_loop_and_break_keywords.rs -------------------------------------------------------------------------------- /control-flow/src/bin/the_match_statement.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/control-flow/src/bin/the_match_statement.rs -------------------------------------------------------------------------------- /control-flow/src/bin/the_match_statement_with_multiple_values_and_conditionals.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/control-flow/src/bin/the_match_statement_with_multiple_values_and_conditionals.rs -------------------------------------------------------------------------------- /control-flow/src/bin/underscore_in_a_match_arm.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/control-flow/src/bin/underscore_in_a_match_arm.rs -------------------------------------------------------------------------------- /control-flow/src/bin/while_loop.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/control-flow/src/bin/while_loop.rs -------------------------------------------------------------------------------- /control-flow/src/coding_challenge.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/control-flow/src/coding_challenge.rs -------------------------------------------------------------------------------- /control-flow/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() {} 2 | -------------------------------------------------------------------------------- /data-types/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | -------------------------------------------------------------------------------- /data-types/.vscode/extensions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/data-types/.vscode/extensions.json -------------------------------------------------------------------------------- /data-types/.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/data-types/.vscode/settings.json -------------------------------------------------------------------------------- /data-types/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/data-types/Cargo.lock -------------------------------------------------------------------------------- /data-types/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/data-types/Cargo.toml -------------------------------------------------------------------------------- /data-types/assets/Intro to Data Types.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/data-types/assets/Intro to Data Types.pdf -------------------------------------------------------------------------------- /data-types/assets/Section Review.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/data-types/assets/Section Review.pdf -------------------------------------------------------------------------------- /data-types/assets/The Display Trait.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/data-types/assets/The Display Trait.pdf -------------------------------------------------------------------------------- /data-types/src/bin/and_with_ampersand_operators.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/data-types/src/bin/and_with_ampersand_operators.rs -------------------------------------------------------------------------------- /data-types/src/bin/augmented_assignment_operator.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/data-types/src/bin/augmented_assignment_operator.rs -------------------------------------------------------------------------------- /data-types/src/bin/boolean_inversion_with_exclamation_mark.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/data-types/src/bin/boolean_inversion_with_exclamation_mark.rs -------------------------------------------------------------------------------- /data-types/src/bin/casting_types_with_the_as_keyword.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/data-types/src/bin/casting_types_with_the_as_keyword.rs -------------------------------------------------------------------------------- /data-types/src/bin/equality_and_inequality_operators.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/data-types/src/bin/equality_and_inequality_operators.rs -------------------------------------------------------------------------------- /data-types/src/bin/floating_point_types.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/data-types/src/bin/floating_point_types.rs -------------------------------------------------------------------------------- /data-types/src/bin/formatting_floats_with_format_specifiers.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/data-types/src/bin/formatting_floats_with_format_specifiers.rs -------------------------------------------------------------------------------- /data-types/src/bin/integers.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/data-types/src/bin/integers.rs -------------------------------------------------------------------------------- /data-types/src/bin/intro_to_booleans.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/data-types/src/bin/intro_to_booleans.rs -------------------------------------------------------------------------------- /data-types/src/bin/intro_to_generics.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/data-types/src/bin/intro_to_generics.rs -------------------------------------------------------------------------------- /data-types/src/bin/intro_to_methods.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/data-types/src/bin/intro_to_methods.rs -------------------------------------------------------------------------------- /data-types/src/bin/math_operations.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/data-types/src/bin/math_operations.rs -------------------------------------------------------------------------------- /data-types/src/bin/or_with_vertical_pipes.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/data-types/src/bin/or_with_vertical_pipes.rs -------------------------------------------------------------------------------- /data-types/src/bin/ranges_and_range_iteration.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/data-types/src/bin/ranges_and_range_iteration.rs -------------------------------------------------------------------------------- /data-types/src/bin/reading_and_writing_array_elements.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/data-types/src/bin/reading_and_writing_array_elements.rs -------------------------------------------------------------------------------- /data-types/src/bin/strings_and_raw_strings.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/data-types/src/bin/strings_and_raw_strings.rs -------------------------------------------------------------------------------- /data-types/src/bin/the_array_type.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/data-types/src/bin/the_array_type.rs -------------------------------------------------------------------------------- /data-types/src/bin/the_character_type.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/data-types/src/bin/the_character_type.rs -------------------------------------------------------------------------------- /data-types/src/bin/the_dbg_macro.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/data-types/src/bin/the_dbg_macro.rs -------------------------------------------------------------------------------- /data-types/src/bin/the_debug_trait.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/data-types/src/bin/the_debug_trait.rs -------------------------------------------------------------------------------- /data-types/src/bin/the_display_trait.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/data-types/src/bin/the_display_trait.rs -------------------------------------------------------------------------------- /data-types/src/bin/the_tuple_type.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/data-types/src/bin/the_tuple_type.rs -------------------------------------------------------------------------------- /data-types/src/bin/the_usize_and_isize_types.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/data-types/src/bin/the_usize_and_isize_types.rs -------------------------------------------------------------------------------- /data-types/src/bin/using_underscore_as_visual_separator_for_numbers.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/data-types/src/bin/using_underscore_as_visual_separator_for_numbers.rs -------------------------------------------------------------------------------- /data-types/src/coding_challenge.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/data-types/src/coding_challenge.rs -------------------------------------------------------------------------------- /data-types/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() {} 2 | -------------------------------------------------------------------------------- /datetimes/.vscode/extensions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/datetimes/.vscode/extensions.json -------------------------------------------------------------------------------- /datetimes/.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/datetimes/.vscode/settings.json -------------------------------------------------------------------------------- /datetimes/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/datetimes/Cargo.lock -------------------------------------------------------------------------------- /datetimes/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/datetimes/Cargo.toml -------------------------------------------------------------------------------- /datetimes/assets/Section Review.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/datetimes/assets/Section Review.pdf -------------------------------------------------------------------------------- /datetimes/src/bin/adding_and_subtracting_time.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/datetimes/src/bin/adding_and_subtracting_time.rs -------------------------------------------------------------------------------- /datetimes/src/bin/converting_timezones.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/datetimes/src/bin/converting_timezones.rs -------------------------------------------------------------------------------- /datetimes/src/bin/the_date_time_struct.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/datetimes/src/bin/the_date_time_struct.rs -------------------------------------------------------------------------------- /datetimes/src/bin/the_format_method.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/datetimes/src/bin/the_format_method.rs -------------------------------------------------------------------------------- /datetimes/src/bin/the_naive_date_struct.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/datetimes/src/bin/the_naive_date_struct.rs -------------------------------------------------------------------------------- /datetimes/src/bin/the_naive_time_and_naive_date_time_structs.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/datetimes/src/bin/the_naive_time_and_naive_date_time_structs.rs -------------------------------------------------------------------------------- /datetimes/src/bin/the_parse_from_str_function.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/datetimes/src/bin/the_parse_from_str_function.rs -------------------------------------------------------------------------------- /datetimes/src/bin/the_time_delta_struct.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/datetimes/src/bin/the_time_delta_struct.rs -------------------------------------------------------------------------------- /datetimes/src/coding_challenge.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/datetimes/src/coding_challenge.rs -------------------------------------------------------------------------------- /datetimes/src/main.rs: -------------------------------------------------------------------------------- 1 | 2 | fn main() { 3 | 4 | } 5 | -------------------------------------------------------------------------------- /enums/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | -------------------------------------------------------------------------------- /enums/.vscode/extensions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/enums/.vscode/extensions.json -------------------------------------------------------------------------------- /enums/.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/enums/.vscode/settings.json -------------------------------------------------------------------------------- /enums/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/enums/Cargo.lock -------------------------------------------------------------------------------- /enums/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/enums/Cargo.toml -------------------------------------------------------------------------------- /enums/assets/Section Review.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/enums/assets/Section Review.pdf -------------------------------------------------------------------------------- /enums/src/bin/a_brief_discussion_on_enum_memory.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/enums/src/bin/a_brief_discussion_on_enum_memory.rs -------------------------------------------------------------------------------- /enums/src/bin/defining_methods_on_enums.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/enums/src/bin/defining_methods_on_enums.rs -------------------------------------------------------------------------------- /enums/src/bin/enum_with_associated_values_I.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/enums/src/bin/enum_with_associated_values_I.rs -------------------------------------------------------------------------------- /enums/src/bin/enum_with_associated_values_II.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/enums/src/bin/enum_with_associated_values_II.rs -------------------------------------------------------------------------------- /enums/src/bin/intro_to_enums.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/enums/src/bin/intro_to_enums.rs -------------------------------------------------------------------------------- /enums/src/bin/nesting_enums_in_enums.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/enums/src/bin/nesting_enums_in_enums.rs -------------------------------------------------------------------------------- /enums/src/bin/struct_variants.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/enums/src/bin/struct_variants.rs -------------------------------------------------------------------------------- /enums/src/bin/the_if_let_construct.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/enums/src/bin/the_if_let_construct.rs -------------------------------------------------------------------------------- /enums/src/bin/the_let_else_construct.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/enums/src/bin/the_let_else_construct.rs -------------------------------------------------------------------------------- /enums/src/bin/the_match_keyword_I.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/enums/src/bin/the_match_keyword_I.rs -------------------------------------------------------------------------------- /enums/src/bin/the_match_keyword_II.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/enums/src/bin/the_match_keyword_II.rs -------------------------------------------------------------------------------- /enums/src/bin/the_match_keyword_III.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/enums/src/bin/the_match_keyword_III.rs -------------------------------------------------------------------------------- /enums/src/bin/the_match_keyword_IV.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/enums/src/bin/the_match_keyword_IV.rs -------------------------------------------------------------------------------- /enums/src/bin/the_match_keyword_V.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/enums/src/bin/the_match_keyword_V.rs -------------------------------------------------------------------------------- /enums/src/coding_challenge.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/enums/src/coding_challenge.rs -------------------------------------------------------------------------------- /enums/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() {} 2 | -------------------------------------------------------------------------------- /error-handling/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | -------------------------------------------------------------------------------- /error-handling/.vscode/extensions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/error-handling/.vscode/extensions.json -------------------------------------------------------------------------------- /error-handling/.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/error-handling/.vscode/settings.json -------------------------------------------------------------------------------- /error-handling/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/error-handling/Cargo.lock -------------------------------------------------------------------------------- /error-handling/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/error-handling/Cargo.toml -------------------------------------------------------------------------------- /error-handling/adventure.txt: -------------------------------------------------------------------------------- 1 | Woohoo, I'm a Rust developer -------------------------------------------------------------------------------- /error-handling/assets/Section Review.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/error-handling/assets/Section Review.pdf -------------------------------------------------------------------------------- /error-handling/src/bin/asking_the_user_for_input.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/error-handling/src/bin/asking_the_user_for_input.rs -------------------------------------------------------------------------------- /error-handling/src/bin/opening_a_file.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/error-handling/src/bin/opening_a_file.rs -------------------------------------------------------------------------------- /error-handling/src/bin/propagating_errors.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/error-handling/src/bin/propagating_errors.rs -------------------------------------------------------------------------------- /error-handling/src/bin/reading_the_files_contents.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/error-handling/src/bin/reading_the_files_contents.rs -------------------------------------------------------------------------------- /error-handling/src/bin/standard_error.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/error-handling/src/bin/standard_error.rs -------------------------------------------------------------------------------- /error-handling/src/bin/the_panic_macro.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/error-handling/src/bin/the_panic_macro.rs -------------------------------------------------------------------------------- /error-handling/src/bin/the_process_module_and_the_exit_function.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/error-handling/src/bin/the_process_module_and_the_exit_function.rs -------------------------------------------------------------------------------- /error-handling/src/bin/the_question_mark_operator.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/error-handling/src/bin/the_question_mark_operator.rs -------------------------------------------------------------------------------- /error-handling/src/bin/the_read_to_string_associated_function.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/error-handling/src/bin/the_read_to_string_associated_function.rs -------------------------------------------------------------------------------- /error-handling/src/bin/understanding_error_type_redeclaration.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/error-handling/src/bin/understanding_error_type_redeclaration.rs -------------------------------------------------------------------------------- /error-handling/src/bin/using_question_mark_with_option.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/error-handling/src/bin/using_question_mark_with_option.rs -------------------------------------------------------------------------------- /error-handling/src/coding_challenge.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/error-handling/src/coding_challenge.rs -------------------------------------------------------------------------------- /error-handling/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() {} 2 | -------------------------------------------------------------------------------- /functions/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | -------------------------------------------------------------------------------- /functions/.vscode/extensions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/functions/.vscode/extensions.json -------------------------------------------------------------------------------- /functions/.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/functions/.vscode/settings.json -------------------------------------------------------------------------------- /functions/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/functions/Cargo.lock -------------------------------------------------------------------------------- /functions/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/functions/Cargo.toml -------------------------------------------------------------------------------- /functions/assets/Section Review.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/functions/assets/Section Review.pdf -------------------------------------------------------------------------------- /functions/src/bin/blocks_in_functions.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/functions/src/bin/blocks_in_functions.rs -------------------------------------------------------------------------------- /functions/src/bin/explicit_return_values.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/functions/src/bin/explicit_return_values.rs -------------------------------------------------------------------------------- /functions/src/bin/implicit_return_values.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/functions/src/bin/implicit_return_values.rs -------------------------------------------------------------------------------- /functions/src/bin/intro_to_functions.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/functions/src/bin/intro_to_functions.rs -------------------------------------------------------------------------------- /functions/src/bin/parameters_and_arguments.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/functions/src/bin/parameters_and_arguments.rs -------------------------------------------------------------------------------- /functions/src/bin/the_unit_as_a_return_type.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/functions/src/bin/the_unit_as_a_return_type.rs -------------------------------------------------------------------------------- /functions/src/coding_challenge.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/functions/src/coding_challenge.rs -------------------------------------------------------------------------------- /functions/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() {} 2 | -------------------------------------------------------------------------------- /generics/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | -------------------------------------------------------------------------------- /generics/.vscode/extensions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/generics/.vscode/extensions.json -------------------------------------------------------------------------------- /generics/.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/generics/.vscode/settings.json -------------------------------------------------------------------------------- /generics/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/generics/Cargo.lock -------------------------------------------------------------------------------- /generics/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/generics/Cargo.toml -------------------------------------------------------------------------------- /generics/assets/Section Review.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/generics/assets/Section Review.pdf -------------------------------------------------------------------------------- /generics/src/bin/generics_and_impl_blocks_I.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/generics/src/bin/generics_and_impl_blocks_I.rs -------------------------------------------------------------------------------- /generics/src/bin/generics_and_impl_blocks_II.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/generics/src/bin/generics_and_impl_blocks_II.rs -------------------------------------------------------------------------------- /generics/src/bin/generics_in_enums.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/generics/src/bin/generics_in_enums.rs -------------------------------------------------------------------------------- /generics/src/bin/generics_in_structs.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/generics/src/bin/generics_in_structs.rs -------------------------------------------------------------------------------- /generics/src/bin/intro_to_generics.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/generics/src/bin/intro_to_generics.rs -------------------------------------------------------------------------------- /generics/src/bin/multiple_generics.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/generics/src/bin/multiple_generics.rs -------------------------------------------------------------------------------- /generics/src/bin/the_turbofish_operator.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/generics/src/bin/the_turbofish_operator.rs -------------------------------------------------------------------------------- /generics/src/coding_challenge.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/generics/src/coding_challenge.rs -------------------------------------------------------------------------------- /generics/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() {} 2 | -------------------------------------------------------------------------------- /getting-started/Intro to Rust.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/getting-started/Intro to Rust.pdf -------------------------------------------------------------------------------- /getting-started/Section Review.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/getting-started/Section Review.pdf -------------------------------------------------------------------------------- /getting-started/The Rust Compiler.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/getting-started/The Rust Compiler.pdf -------------------------------------------------------------------------------- /hash-maps/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | -------------------------------------------------------------------------------- /hash-maps/.vscode/extensions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/hash-maps/.vscode/extensions.json -------------------------------------------------------------------------------- /hash-maps/.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/hash-maps/.vscode/settings.json -------------------------------------------------------------------------------- /hash-maps/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/hash-maps/Cargo.lock -------------------------------------------------------------------------------- /hash-maps/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/hash-maps/Cargo.toml -------------------------------------------------------------------------------- /hash-maps/assets/Section Review.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/hash-maps/assets/Section Review.pdf -------------------------------------------------------------------------------- /hash-maps/src/bin/access_a_value_by_key.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/hash-maps/src/bin/access_a_value_by_key.rs -------------------------------------------------------------------------------- /hash-maps/src/bin/create_a_hashmap_with_new_function.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/hash-maps/src/bin/create_a_hashmap_with_new_function.rs -------------------------------------------------------------------------------- /hash-maps/src/bin/hashmaps_and_ownership.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/hash-maps/src/bin/hashmaps_and_ownership.rs -------------------------------------------------------------------------------- /hash-maps/src/bin/hashset_operations.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/hash-maps/src/bin/hashset_operations.rs -------------------------------------------------------------------------------- /hash-maps/src/bin/overwriting_a_value_with_an_existing_key.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/hash-maps/src/bin/overwriting_a_value_with_an_existing_key.rs -------------------------------------------------------------------------------- /hash-maps/src/bin/the_entry_method.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/hash-maps/src/bin/the_entry_method.rs -------------------------------------------------------------------------------- /hash-maps/src/bin/the_hashset.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/hash-maps/src/bin/the_hashset.rs -------------------------------------------------------------------------------- /hash-maps/src/bin/the_remove_method.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/hash-maps/src/bin/the_remove_method.rs -------------------------------------------------------------------------------- /hash-maps/src/coding_challenge.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/hash-maps/src/coding_challenge.rs -------------------------------------------------------------------------------- /hash-maps/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() {} 2 | -------------------------------------------------------------------------------- /iterators/.vscode/extensions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/iterators/.vscode/extensions.json -------------------------------------------------------------------------------- /iterators/.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/iterators/.vscode/settings.json -------------------------------------------------------------------------------- /iterators/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/iterators/Cargo.lock -------------------------------------------------------------------------------- /iterators/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/iterators/Cargo.toml -------------------------------------------------------------------------------- /iterators/assets/Section Review.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/iterators/assets/Section Review.pdf -------------------------------------------------------------------------------- /iterators/assets/The Iterator and IntoIterator Traits.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/iterators/assets/The Iterator and IntoIterator Traits.pdf -------------------------------------------------------------------------------- /iterators/src/bin/collecting_command_line_arguments_i.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/iterators/src/bin/collecting_command_line_arguments_i.rs -------------------------------------------------------------------------------- /iterators/src/bin/collecting_command_line_arguments_ii.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/iterators/src/bin/collecting_command_line_arguments_ii.rs -------------------------------------------------------------------------------- /iterators/src/bin/exhausting_the_iterator.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/iterators/src/bin/exhausting_the_iterator.rs -------------------------------------------------------------------------------- /iterators/src/bin/hashmap_iteration.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/iterators/src/bin/hashmap_iteration.rs -------------------------------------------------------------------------------- /iterators/src/bin/manual_iteration.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/iterators/src/bin/manual_iteration.rs -------------------------------------------------------------------------------- /iterators/src/bin/project_wordle.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/iterators/src/bin/project_wordle.rs -------------------------------------------------------------------------------- /iterators/src/bin/reading_directory.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/iterators/src/bin/reading_directory.rs -------------------------------------------------------------------------------- /iterators/src/bin/solving_a_problem_with_iteration.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/iterators/src/bin/solving_a_problem_with_iteration.rs -------------------------------------------------------------------------------- /iterators/src/bin/string_iteration.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/iterators/src/bin/string_iteration.rs -------------------------------------------------------------------------------- /iterators/src/bin/the_any_and_all_methods.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/iterators/src/bin/the_any_and_all_methods.rs -------------------------------------------------------------------------------- /iterators/src/bin/the_cloned_method.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/iterators/src/bin/the_cloned_method.rs -------------------------------------------------------------------------------- /iterators/src/bin/the_collect_method.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/iterators/src/bin/the_collect_method.rs -------------------------------------------------------------------------------- /iterators/src/bin/the_enumerate_method.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/iterators/src/bin/the_enumerate_method.rs -------------------------------------------------------------------------------- /iterators/src/bin/the_filter_and_find_methods_i.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/iterators/src/bin/the_filter_and_find_methods_i.rs -------------------------------------------------------------------------------- /iterators/src/bin/the_filter_and_find_methods_ii.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/iterators/src/bin/the_filter_and_find_methods_ii.rs -------------------------------------------------------------------------------- /iterators/src/bin/the_filter_map_method.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/iterators/src/bin/the_filter_map_method.rs -------------------------------------------------------------------------------- /iterators/src/bin/the_flat_map_method.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/iterators/src/bin/the_flat_map_method.rs -------------------------------------------------------------------------------- /iterators/src/bin/the_flatten_method.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/iterators/src/bin/the_flatten_method.rs -------------------------------------------------------------------------------- /iterators/src/bin/the_fold_method.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/iterators/src/bin/the_fold_method.rs -------------------------------------------------------------------------------- /iterators/src/bin/the_for_each_method.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/iterators/src/bin/the_for_each_method.rs -------------------------------------------------------------------------------- /iterators/src/bin/the_for_loop_with_iterator.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/iterators/src/bin/the_for_loop_with_iterator.rs -------------------------------------------------------------------------------- /iterators/src/bin/the_from_iterator_trait.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/iterators/src/bin/the_from_iterator_trait.rs -------------------------------------------------------------------------------- /iterators/src/bin/the_into_iterator_trait_in_action.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/iterators/src/bin/the_into_iterator_trait_in_action.rs -------------------------------------------------------------------------------- /iterators/src/bin/the_iter_method.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/iterators/src/bin/the_iter_method.rs -------------------------------------------------------------------------------- /iterators/src/bin/the_iter_mut_method.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/iterators/src/bin/the_iter_mut_method.rs -------------------------------------------------------------------------------- /iterators/src/bin/the_last_nth_nth_back_and_position_methods.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/iterators/src/bin/the_last_nth_nth_back_and_position_methods.rs -------------------------------------------------------------------------------- /iterators/src/bin/the_lines_method.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/iterators/src/bin/the_lines_method.rs -------------------------------------------------------------------------------- /iterators/src/bin/the_map_method_i.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/iterators/src/bin/the_map_method_i.rs -------------------------------------------------------------------------------- /iterators/src/bin/the_map_method_ii.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/iterators/src/bin/the_map_method_ii.rs -------------------------------------------------------------------------------- /iterators/src/bin/the_partition_method.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/iterators/src/bin/the_partition_method.rs -------------------------------------------------------------------------------- /iterators/src/bin/the_reduce_method.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/iterators/src/bin/the_reduce_method.rs -------------------------------------------------------------------------------- /iterators/src/bin/the_sort_and_sort_by_key_methods.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/iterators/src/bin/the_sort_and_sort_by_key_methods.rs -------------------------------------------------------------------------------- /iterators/src/bin/the_sum_product_max_min_and_count_methods.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/iterators/src/bin/the_sum_product_max_min_and_count_methods.rs -------------------------------------------------------------------------------- /iterators/src/bin/the_take_rev_skip_and_step_by_methods.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/iterators/src/bin/the_take_rev_skip_and_step_by_methods.rs -------------------------------------------------------------------------------- /iterators/src/bin/the_zip_method.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/iterators/src/bin/the_zip_method.rs -------------------------------------------------------------------------------- /iterators/src/bin/why_iterator_can_be_immutable.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/iterators/src/bin/why_iterator_can_be_immutable.rs -------------------------------------------------------------------------------- /iterators/src/coding_challenge.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/iterators/src/coding_challenge.rs -------------------------------------------------------------------------------- /iterators/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() {} 2 | -------------------------------------------------------------------------------- /lifetimes/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | -------------------------------------------------------------------------------- /lifetimes/.vscode/extensions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/lifetimes/.vscode/extensions.json -------------------------------------------------------------------------------- /lifetimes/.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/lifetimes/.vscode/settings.json -------------------------------------------------------------------------------- /lifetimes/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/lifetimes/Cargo.lock -------------------------------------------------------------------------------- /lifetimes/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/lifetimes/Cargo.toml -------------------------------------------------------------------------------- /lifetimes/assets/Intro to Generic Lifetimes.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/lifetimes/assets/Intro to Generic Lifetimes.pdf -------------------------------------------------------------------------------- /lifetimes/assets/Section Review.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/lifetimes/assets/Section Review.pdf -------------------------------------------------------------------------------- /lifetimes/src/bin/concrete_lifetimes_for_references.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/lifetimes/src/bin/concrete_lifetimes_for_references.rs -------------------------------------------------------------------------------- /lifetimes/src/bin/concrete_lifetimes_for_values_I.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | let a = 1; 3 | } 4 | -------------------------------------------------------------------------------- /lifetimes/src/bin/concrete_lifetimes_for_values_II.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/lifetimes/src/bin/concrete_lifetimes_for_values_II.rs -------------------------------------------------------------------------------- /lifetimes/src/bin/functions_cannot_return_references_to_owned_values_or_parameters.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/lifetimes/src/bin/functions_cannot_return_references_to_owned_values_or_parameters.rs -------------------------------------------------------------------------------- /lifetimes/src/bin/intro_to_generic_lifetimes.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/lifetimes/src/bin/intro_to_generic_lifetimes.rs -------------------------------------------------------------------------------- /lifetimes/src/bin/invalid_lifetimes_I.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/lifetimes/src/bin/invalid_lifetimes_I.rs -------------------------------------------------------------------------------- /lifetimes/src/bin/invalid_lifetimes_II.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/lifetimes/src/bin/invalid_lifetimes_II.rs -------------------------------------------------------------------------------- /lifetimes/src/bin/lifetime_elision_rules_I.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/lifetimes/src/bin/lifetime_elision_rules_I.rs -------------------------------------------------------------------------------- /lifetimes/src/bin/lifetime_elision_rules_II.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/lifetimes/src/bin/lifetime_elision_rules_II.rs -------------------------------------------------------------------------------- /lifetimes/src/bin/lifetimes_and_referents.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/lifetimes/src/bin/lifetimes_and_referents.rs -------------------------------------------------------------------------------- /lifetimes/src/bin/lifetimes_in_structs.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/lifetimes/src/bin/lifetimes_in_structs.rs -------------------------------------------------------------------------------- /lifetimes/src/bin/multiple_lifetimes.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/lifetimes/src/bin/multiple_lifetimes.rs -------------------------------------------------------------------------------- /lifetimes/src/bin/multiple_parameters_I.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/lifetimes/src/bin/multiple_parameters_I.rs -------------------------------------------------------------------------------- /lifetimes/src/bin/multiple_parameters_II.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/lifetimes/src/bin/multiple_parameters_II.rs -------------------------------------------------------------------------------- /lifetimes/src/bin/non_lexical_lifetimes.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/lifetimes/src/bin/non_lexical_lifetimes.rs -------------------------------------------------------------------------------- /lifetimes/src/bin/references_as_function_parameters.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/lifetimes/src/bin/references_as_function_parameters.rs -------------------------------------------------------------------------------- /lifetimes/src/bin/the_static_lifetime.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/lifetimes/src/bin/the_static_lifetime.rs -------------------------------------------------------------------------------- /lifetimes/src/coding_challenge.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/lifetimes/src/coding_challenge.rs -------------------------------------------------------------------------------- /lifetimes/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() {} 2 | -------------------------------------------------------------------------------- /option-and-result-enums/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | -------------------------------------------------------------------------------- /option-and-result-enums/.vscode/extensions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/option-and-result-enums/.vscode/extensions.json -------------------------------------------------------------------------------- /option-and-result-enums/.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/option-and-result-enums/.vscode/settings.json -------------------------------------------------------------------------------- /option-and-result-enums/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/option-and-result-enums/Cargo.lock -------------------------------------------------------------------------------- /option-and-result-enums/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/option-and-result-enums/Cargo.toml -------------------------------------------------------------------------------- /option-and-result-enums/assets/Section Review.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/option-and-result-enums/assets/Section Review.pdf -------------------------------------------------------------------------------- /option-and-result-enums/assets/The Option Enum.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/option-and-result-enums/assets/The Option Enum.pdf -------------------------------------------------------------------------------- /option-and-result-enums/assets/The Result Enum.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/option-and-result-enums/assets/The Result Enum.pdf -------------------------------------------------------------------------------- /option-and-result-enums/src/bin/building_option_from_scratch.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/option-and-result-enums/src/bin/building_option_from_scratch.rs -------------------------------------------------------------------------------- /option-and-result-enums/src/bin/nuances_of_unwrap_method.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/option-and-result-enums/src/bin/nuances_of_unwrap_method.rs -------------------------------------------------------------------------------- /option-and-result-enums/src/bin/real_example_of_option_enum.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/option-and-result-enums/src/bin/real_example_of_option_enum.rs -------------------------------------------------------------------------------- /option-and-result-enums/src/bin/real_example_of_result_enum.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/option-and-result-enums/src/bin/real_example_of_result_enum.rs -------------------------------------------------------------------------------- /option-and-result-enums/src/bin/result_methods.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/option-and-result-enums/src/bin/result_methods.rs -------------------------------------------------------------------------------- /option-and-result-enums/src/bin/returning_a_result_enum_from_a_function.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/option-and-result-enums/src/bin/returning_a_result_enum_from_a_function.rs -------------------------------------------------------------------------------- /option-and-result-enums/src/bin/returning_an_option_enum_from_a_function.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/option-and-result-enums/src/bin/returning_an_option_enum_from_a_function.rs -------------------------------------------------------------------------------- /option-and-result-enums/src/bin/the_match_keyword_with_option_enum.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/option-and-result-enums/src/bin/the_match_keyword_with_option_enum.rs -------------------------------------------------------------------------------- /option-and-result-enums/src/bin/the_option_enum.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/option-and-result-enums/src/bin/the_option_enum.rs -------------------------------------------------------------------------------- /option-and-result-enums/src/bin/the_result_enum.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/option-and-result-enums/src/bin/the_result_enum.rs -------------------------------------------------------------------------------- /option-and-result-enums/src/bin/the_unwrap_and_except_methods.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/option-and-result-enums/src/bin/the_unwrap_and_except_methods.rs -------------------------------------------------------------------------------- /option-and-result-enums/src/bin/the_unwrap_or_method.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/option-and-result-enums/src/bin/the_unwrap_or_method.rs -------------------------------------------------------------------------------- /option-and-result-enums/src/bin/the_while_let_construct.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/option-and-result-enums/src/bin/the_while_let_construct.rs -------------------------------------------------------------------------------- /option-and-result-enums/src/bin/top_level_option_variants.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/option-and-result-enums/src/bin/top_level_option_variants.rs -------------------------------------------------------------------------------- /option-and-result-enums/src/coding_challenge.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/option-and-result-enums/src/coding_challenge.rs -------------------------------------------------------------------------------- /option-and-result-enums/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() {} 2 | -------------------------------------------------------------------------------- /ownership/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | -------------------------------------------------------------------------------- /ownership/.vscode/extensions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/ownership/.vscode/extensions.json -------------------------------------------------------------------------------- /ownership/.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/ownership/.vscode/settings.json -------------------------------------------------------------------------------- /ownership/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/ownership/Cargo.lock -------------------------------------------------------------------------------- /ownership/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/ownership/Cargo.toml -------------------------------------------------------------------------------- /ownership/assets/Intro to Ownership.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/ownership/assets/Intro to Ownership.pdf -------------------------------------------------------------------------------- /ownership/assets/Ownership -Section Review.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/ownership/assets/Ownership -Section Review.pdf -------------------------------------------------------------------------------- /ownership/assets/References & Borrowing - Section Review.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/ownership/assets/References & Borrowing - Section Review.pdf -------------------------------------------------------------------------------- /ownership/assets/The Stack and the Heap.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/ownership/assets/The Stack and the Heap.pdf -------------------------------------------------------------------------------- /ownership/src/bin/String_&String_str_and_&str.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/ownership/src/bin/String_&String_str_and_&str.rs -------------------------------------------------------------------------------- /ownership/src/bin/dangling_references.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/ownership/src/bin/dangling_references.rs -------------------------------------------------------------------------------- /ownership/src/bin/immutable_and_mutable_reference_parameters.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/ownership/src/bin/immutable_and_mutable_reference_parameters.rs -------------------------------------------------------------------------------- /ownership/src/bin/moves_and_ownership.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/ownership/src/bin/moves_and_ownership.rs -------------------------------------------------------------------------------- /ownership/src/bin/multiple_immutable_references.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/ownership/src/bin/multiple_immutable_references.rs -------------------------------------------------------------------------------- /ownership/src/bin/mutable_parameters.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/ownership/src/bin/mutable_parameters.rs -------------------------------------------------------------------------------- /ownership/src/bin/mutable_reference_restrictions.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/ownership/src/bin/mutable_reference_restrictions.rs -------------------------------------------------------------------------------- /ownership/src/bin/ownership_and_function_parameters.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/ownership/src/bin/ownership_and_function_parameters.rs -------------------------------------------------------------------------------- /ownership/src/bin/ownership_with_arrays_and_tuples.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/ownership/src/bin/ownership_with_arrays_and_tuples.rs -------------------------------------------------------------------------------- /ownership/src/bin/ownership_with_immutable_and_mutable_references.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/ownership/src/bin/ownership_with_immutable_and_mutable_references.rs -------------------------------------------------------------------------------- /ownership/src/bin/references_and_borrowing.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/ownership/src/bin/references_and_borrowing.rs -------------------------------------------------------------------------------- /ownership/src/bin/return_values_I.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/ownership/src/bin/return_values_I.rs -------------------------------------------------------------------------------- /ownership/src/bin/return_values_II.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/ownership/src/bin/return_values_II.rs -------------------------------------------------------------------------------- /ownership/src/bin/scope_and_ownership.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/ownership/src/bin/scope_and_ownership.rs -------------------------------------------------------------------------------- /ownership/src/bin/the_clone_method.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/ownership/src/bin/the_clone_method.rs -------------------------------------------------------------------------------- /ownership/src/bin/the_copy_trait.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/ownership/src/bin/the_copy_trait.rs -------------------------------------------------------------------------------- /ownership/src/bin/the_copy_trait_with_references.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/ownership/src/bin/the_copy_trait_with_references.rs -------------------------------------------------------------------------------- /ownership/src/bin/the_dereference_operator.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/ownership/src/bin/the_dereference_operator.rs -------------------------------------------------------------------------------- /ownership/src/bin/the_drop_function.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/ownership/src/bin/the_drop_function.rs -------------------------------------------------------------------------------- /ownership/src/bin/the_push_str_method_on_a_string_type.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/ownership/src/bin/the_push_str_method_on_a_string_type.rs -------------------------------------------------------------------------------- /ownership/src/bin/the_string_type.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/ownership/src/bin/the_string_type.rs -------------------------------------------------------------------------------- /ownership/src/coding_challenge_1.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/ownership/src/coding_challenge_1.rs -------------------------------------------------------------------------------- /ownership/src/coding_challenge_2.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/ownership/src/coding_challenge_2.rs -------------------------------------------------------------------------------- /ownership/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() {} 2 | -------------------------------------------------------------------------------- /random/.vscode/extensions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/random/.vscode/extensions.json -------------------------------------------------------------------------------- /random/.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/random/.vscode/settings.json -------------------------------------------------------------------------------- /random/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/random/Cargo.lock -------------------------------------------------------------------------------- /random/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/random/Cargo.toml -------------------------------------------------------------------------------- /random/assets/Section Review.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/random/assets/Section Review.pdf -------------------------------------------------------------------------------- /random/src/bin/randomizing_vector_elements_with_shuffle_method.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/random/src/bin/randomizing_vector_elements_with_shuffle_method.rs -------------------------------------------------------------------------------- /random/src/bin/the_threadrng_struct.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/random/src/bin/the_threadrng_struct.rs -------------------------------------------------------------------------------- /random/src/coding_challenge.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/random/src/coding_challenge.rs -------------------------------------------------------------------------------- /random/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() {} 2 | -------------------------------------------------------------------------------- /regular-expressions/.vscode/extensions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/regular-expressions/.vscode/extensions.json -------------------------------------------------------------------------------- /regular-expressions/.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/regular-expressions/.vscode/settings.json -------------------------------------------------------------------------------- /regular-expressions/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/regular-expressions/Cargo.lock -------------------------------------------------------------------------------- /regular-expressions/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/regular-expressions/Cargo.toml -------------------------------------------------------------------------------- /regular-expressions/assets/Section Review.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/regular-expressions/assets/Section Review.pdf -------------------------------------------------------------------------------- /regular-expressions/src/coding_challenge.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/regular-expressions/src/coding_challenge.rs -------------------------------------------------------------------------------- /regular-expressions/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | 3 | } 4 | -------------------------------------------------------------------------------- /saladworks/.vscode/extensions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/saladworks/.vscode/extensions.json -------------------------------------------------------------------------------- /saladworks/.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/saladworks/.vscode/settings.json -------------------------------------------------------------------------------- /saladworks/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/saladworks/Cargo.lock -------------------------------------------------------------------------------- /saladworks/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/saladworks/Cargo.toml -------------------------------------------------------------------------------- /saladworks/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/saladworks/src/lib.rs -------------------------------------------------------------------------------- /slices/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | -------------------------------------------------------------------------------- /slices/.vscode/extensions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/slices/.vscode/extensions.json -------------------------------------------------------------------------------- /slices/.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/slices/.vscode/settings.json -------------------------------------------------------------------------------- /slices/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/slices/Cargo.lock -------------------------------------------------------------------------------- /slices/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/slices/Cargo.toml -------------------------------------------------------------------------------- /slices/assets/Intro to Slices.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/slices/assets/Intro to Slices.pdf -------------------------------------------------------------------------------- /slices/assets/Section Review.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/slices/assets/Section Review.pdf -------------------------------------------------------------------------------- /slices/src/bin/array_slices.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/slices/src/bin/array_slices.rs -------------------------------------------------------------------------------- /slices/src/bin/create_a_string_slice_from_a_string.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/slices/src/bin/create_a_string_slice_from_a_string.rs -------------------------------------------------------------------------------- /slices/src/bin/deref_coercion_with_array_slices.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/slices/src/bin/deref_coercion_with_array_slices.rs -------------------------------------------------------------------------------- /slices/src/bin/mutable_array_slices.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/slices/src/bin/mutable_array_slices.rs -------------------------------------------------------------------------------- /slices/src/bin/string_slice_lengths.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/slices/src/bin/string_slice_lengths.rs -------------------------------------------------------------------------------- /slices/src/bin/string_slices_and_string_literals.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/slices/src/bin/string_slices_and_string_literals.rs -------------------------------------------------------------------------------- /slices/src/bin/string_slices_as_function_parameters.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/slices/src/bin/string_slices_as_function_parameters.rs -------------------------------------------------------------------------------- /slices/src/bin/syntactic_shortcuts.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/slices/src/bin/syntactic_shortcuts.rs -------------------------------------------------------------------------------- /slices/src/coding_challenge.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/slices/src/coding_challenge.rs -------------------------------------------------------------------------------- /slices/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() {} 2 | -------------------------------------------------------------------------------- /smart-pointers-box/.vscode/extensions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/smart-pointers-box/.vscode/extensions.json -------------------------------------------------------------------------------- /smart-pointers-box/.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/smart-pointers-box/.vscode/settings.json -------------------------------------------------------------------------------- /smart-pointers-box/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/smart-pointers-box/Cargo.lock -------------------------------------------------------------------------------- /smart-pointers-box/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/smart-pointers-box/Cargo.toml -------------------------------------------------------------------------------- /smart-pointers-box/assets/Intro to Binary Search Trees.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/smart-pointers-box/assets/Intro to Binary Search Trees.pdf -------------------------------------------------------------------------------- /smart-pointers-box/assets/Intro to Linked Lists.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/smart-pointers-box/assets/Intro to Linked Lists.pdf -------------------------------------------------------------------------------- /smart-pointers-box/assets/Raw Pointers.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/smart-pointers-box/assets/Raw Pointers.pdf -------------------------------------------------------------------------------- /smart-pointers-box/assets/Section Review.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/smart-pointers-box/assets/Section Review.pdf -------------------------------------------------------------------------------- /smart-pointers-box/assets/Smart Pointers.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/smart-pointers-box/assets/Smart Pointers.pdf -------------------------------------------------------------------------------- /smart-pointers-box/src/bin/box_vs_regular_references_I.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/smart-pointers-box/src/bin/box_vs_regular_references_I.rs -------------------------------------------------------------------------------- /smart-pointers-box/src/bin/box_vs_regular_references_II.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/smart-pointers-box/src/bin/box_vs_regular_references_II.rs -------------------------------------------------------------------------------- /smart-pointers-box/src/bin/creating_a_binary_search_tree.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/smart-pointers-box/src/bin/creating_a_binary_search_tree.rs -------------------------------------------------------------------------------- /smart-pointers-box/src/bin/custom_error_types.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/smart-pointers-box/src/bin/custom_error_types.rs -------------------------------------------------------------------------------- /smart-pointers-box/src/bin/defining_the_linked_list.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/smart-pointers-box/src/bin/defining_the_linked_list.rs -------------------------------------------------------------------------------- /smart-pointers-box/src/bin/deref_coercions.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/smart-pointers-box/src/bin/deref_coercions.rs -------------------------------------------------------------------------------- /smart-pointers-box/src/bin/instantiating_the_linked_list.rs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /smart-pointers-box/src/bin/raw_pointers_and_unsafe_code.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/smart-pointers-box/src/bin/raw_pointers_and_unsafe_code.rs -------------------------------------------------------------------------------- /smart-pointers-box/src/bin/the_box_smart_pointer.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/smart-pointers-box/src/bin/the_box_smart_pointer.rs -------------------------------------------------------------------------------- /smart-pointers-box/src/bin/the_deref_and_derefmut_traits_I.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/smart-pointers-box/src/bin/the_deref_and_derefmut_traits_I.rs -------------------------------------------------------------------------------- /smart-pointers-box/src/bin/the_deref_and_derefmut_traits_II.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/smart-pointers-box/src/bin/the_deref_and_derefmut_traits_II.rs -------------------------------------------------------------------------------- /smart-pointers-box/src/bin/the_drop_trait.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/smart-pointers-box/src/bin/the_drop_trait.rs -------------------------------------------------------------------------------- /smart-pointers-box/src/bin/trait_objects_I.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/smart-pointers-box/src/bin/trait_objects_I.rs -------------------------------------------------------------------------------- /smart-pointers-box/src/bin/trait_objects_II_handling_multiple_errors.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/smart-pointers-box/src/bin/trait_objects_II_handling_multiple_errors.rs -------------------------------------------------------------------------------- /smart-pointers-box/src/bin/vectors_are_smart_pointers.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/smart-pointers-box/src/bin/vectors_are_smart_pointers.rs -------------------------------------------------------------------------------- /smart-pointers-box/src/coding_challenge.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/smart-pointers-box/src/coding_challenge.rs -------------------------------------------------------------------------------- /smart-pointers-box/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() {} 2 | -------------------------------------------------------------------------------- /strings/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | -------------------------------------------------------------------------------- /strings/.vscode/extensions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/strings/.vscode/extensions.json -------------------------------------------------------------------------------- /strings/.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/strings/.vscode/settings.json -------------------------------------------------------------------------------- /strings/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/strings/Cargo.lock -------------------------------------------------------------------------------- /strings/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/strings/Cargo.toml -------------------------------------------------------------------------------- /strings/assets/Section Review.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/strings/assets/Section Review.pdf -------------------------------------------------------------------------------- /strings/src/bin/collecting_user_input_with_read_line_method.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/strings/src/bin/collecting_user_input_with_read_line_method.rs -------------------------------------------------------------------------------- /strings/src/bin/common_string_methods.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/strings/src/bin/common_string_methods.rs -------------------------------------------------------------------------------- /strings/src/bin/concatenation.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/strings/src/bin/concatenation.rs -------------------------------------------------------------------------------- /strings/src/bin/review_of_strings.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/strings/src/bin/review_of_strings.rs -------------------------------------------------------------------------------- /strings/src/bin/the_format_macro.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/strings/src/bin/the_format_macro.rs -------------------------------------------------------------------------------- /strings/src/coding_challenge.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/strings/src/coding_challenge.rs -------------------------------------------------------------------------------- /strings/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() {} 2 | -------------------------------------------------------------------------------- /structs/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | -------------------------------------------------------------------------------- /structs/.vscode/extensions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/structs/.vscode/extensions.json -------------------------------------------------------------------------------- /structs/.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/structs/.vscode/settings.json -------------------------------------------------------------------------------- /structs/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/structs/Cargo.lock -------------------------------------------------------------------------------- /structs/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/structs/Cargo.toml -------------------------------------------------------------------------------- /structs/assets/Section Review.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/structs/assets/Section Review.pdf -------------------------------------------------------------------------------- /structs/src/bin/access_struct_fields.rs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /structs/src/bin/associated_functions.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/structs/src/bin/associated_functions.rs -------------------------------------------------------------------------------- /structs/src/bin/builder_pattern.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/structs/src/bin/builder_pattern.rs -------------------------------------------------------------------------------- /structs/src/bin/calling_methods_from_other_methods.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/structs/src/bin/calling_methods_from_other_methods.rs -------------------------------------------------------------------------------- /structs/src/bin/create_a_struct_instance.rs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /structs/src/bin/create_structs_in_a_function.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/structs/src/bin/create_structs_in_a_function.rs -------------------------------------------------------------------------------- /structs/src/bin/define_a_struct.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/structs/src/bin/define_a_struct.rs -------------------------------------------------------------------------------- /structs/src/bin/defining_struct_methods.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/structs/src/bin/defining_struct_methods.rs -------------------------------------------------------------------------------- /structs/src/bin/deriving_debug_trait_for_struct.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/structs/src/bin/deriving_debug_trait_for_struct.rs -------------------------------------------------------------------------------- /structs/src/bin/methods_with_multiple_parameters.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/structs/src/bin/methods_with_multiple_parameters.rs -------------------------------------------------------------------------------- /structs/src/bin/multiple_impl_blocks.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/structs/src/bin/multiple_impl_blocks.rs -------------------------------------------------------------------------------- /structs/src/bin/overwrite_struct_fields.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/structs/src/bin/overwrite_struct_fields.rs -------------------------------------------------------------------------------- /structs/src/bin/passing_structs_into_a_function.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/structs/src/bin/passing_structs_into_a_function.rs -------------------------------------------------------------------------------- /structs/src/bin/self_parameter_as_immutable_and_mutable_references_to_struct_instance.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/structs/src/bin/self_parameter_as_immutable_and_mutable_references_to_struct_instance.rs -------------------------------------------------------------------------------- /structs/src/bin/self_parameter_as_mutable_struct_instance.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/structs/src/bin/self_parameter_as_mutable_struct_instance.rs -------------------------------------------------------------------------------- /structs/src/bin/struct_field_initialization_shorthand_syntax.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/structs/src/bin/struct_field_initialization_shorthand_syntax.rs -------------------------------------------------------------------------------- /structs/src/bin/struct_update_syntax.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/structs/src/bin/struct_update_syntax.rs -------------------------------------------------------------------------------- /structs/src/bin/tuple_structs.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/structs/src/bin/tuple_structs.rs -------------------------------------------------------------------------------- /structs/src/bin/unit_like_structs.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/structs/src/bin/unit_like_structs.rs -------------------------------------------------------------------------------- /structs/src/coding_challenge.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/structs/src/coding_challenge.rs -------------------------------------------------------------------------------- /structs/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() {} 2 | -------------------------------------------------------------------------------- /testing/.vscode/extensions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/testing/.vscode/extensions.json -------------------------------------------------------------------------------- /testing/.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/testing/.vscode/settings.json -------------------------------------------------------------------------------- /testing/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/testing/Cargo.lock -------------------------------------------------------------------------------- /testing/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/testing/Cargo.toml -------------------------------------------------------------------------------- /testing/assets/Section Review.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/testing/assets/Section Review.pdf -------------------------------------------------------------------------------- /testing/src/bin/adding_movietheater_struct.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/testing/src/bin/adding_movietheater_struct.rs -------------------------------------------------------------------------------- /testing/src/bin/custom_failure_messages.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/testing/src/bin/custom_failure_messages.rs -------------------------------------------------------------------------------- /testing/src/bin/dependency_injection_i.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/testing/src/bin/dependency_injection_i.rs -------------------------------------------------------------------------------- /testing/src/bin/dependency_injection_ii.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/testing/src/bin/dependency_injection_ii.rs -------------------------------------------------------------------------------- /testing/src/bin/documentation_tests.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/testing/src/bin/documentation_tests.rs -------------------------------------------------------------------------------- /testing/src/bin/fixtures_with_the_rstest_crate.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/testing/src/bin/fixtures_with_the_rstest_crate.rs -------------------------------------------------------------------------------- /testing/src/bin/ignoring_tests.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/testing/src/bin/ignoring_tests.rs -------------------------------------------------------------------------------- /testing/src/bin/integration_tests.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/testing/src/bin/integration_tests.rs -------------------------------------------------------------------------------- /testing/src/bin/intro_to_testing.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/testing/src/bin/intro_to_testing.rs -------------------------------------------------------------------------------- /testing/src/bin/showing_printed_output_from_passing_tests.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/testing/src/bin/showing_printed_output_from_passing_tests.rs -------------------------------------------------------------------------------- /testing/src/bin/test_driven_development_tdd.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/testing/src/bin/test_driven_development_tdd.rs -------------------------------------------------------------------------------- /testing/src/bin/test_failures.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/testing/src/bin/test_failures.rs -------------------------------------------------------------------------------- /testing/src/bin/testing_inequality_with_the_assert_ne_macro.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/testing/src/bin/testing_inequality_with_the_assert_ne_macro.rs -------------------------------------------------------------------------------- /testing/src/bin/the_assert_macro.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/testing/src/bin/the_assert_macro.rs -------------------------------------------------------------------------------- /testing/src/bin/the_pretty_assertions_crate.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/testing/src/bin/the_pretty_assertions_crate.rs -------------------------------------------------------------------------------- /testing/src/bin/the_should_panic_macro.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/testing/src/bin/the_should_panic_macro.rs -------------------------------------------------------------------------------- /testing/src/bin/the_tests_module_and_the_cfg_attribute.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/testing/src/bin/the_tests_module_and_the_cfg_attribute.rs -------------------------------------------------------------------------------- /testing/src/bin/trait_requirements_for_types_in_testing.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/testing/src/bin/trait_requirements_for_types_in_testing.rs -------------------------------------------------------------------------------- /testing/src/bin/using_result_enum_in_tests.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/testing/src/bin/using_result_enum_in_tests.rs -------------------------------------------------------------------------------- /testing/src/bin/writing_a_test_and_the_assert_eq_macro.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/testing/src/bin/writing_a_test_and_the_assert_eq_macro.rs -------------------------------------------------------------------------------- /testing/src/lib.rs: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /traits/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | -------------------------------------------------------------------------------- /traits/.vscode/extensions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/traits/.vscode/extensions.json -------------------------------------------------------------------------------- /traits/.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/traits/.vscode/settings.json -------------------------------------------------------------------------------- /traits/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/traits/Cargo.lock -------------------------------------------------------------------------------- /traits/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/traits/Cargo.toml -------------------------------------------------------------------------------- /traits/assets/Intro to Traits.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/traits/assets/Intro to Traits.pdf -------------------------------------------------------------------------------- /traits/assets/Section Review.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/traits/assets/Section Review.pdf -------------------------------------------------------------------------------- /traits/src/bin/a_preview_of_trait_objects.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/traits/src/bin/a_preview_of_trait_objects.rs -------------------------------------------------------------------------------- /traits/src/bin/associated_constants_in_a_trait.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/traits/src/bin/associated_constants_in_a_trait.rs -------------------------------------------------------------------------------- /traits/src/bin/associated_types_I.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/traits/src/bin/associated_types_I.rs -------------------------------------------------------------------------------- /traits/src/bin/associated_types_II.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/traits/src/bin/associated_types_II.rs -------------------------------------------------------------------------------- /traits/src/bin/calling_trait_method_from_another_method.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/traits/src/bin/calling_trait_method_from_another_method.rs -------------------------------------------------------------------------------- /traits/src/bin/default_implementations.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/traits/src/bin/default_implementations.rs -------------------------------------------------------------------------------- /traits/src/bin/defining_a_trait.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/traits/src/bin/defining_a_trait.rs -------------------------------------------------------------------------------- /traits/src/bin/defining_equality_for_different_types.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/traits/src/bin/defining_equality_for_different_types.rs -------------------------------------------------------------------------------- /traits/src/bin/formatter_methods.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/traits/src/bin/formatter_methods.rs -------------------------------------------------------------------------------- /traits/src/bin/getters_in_traits.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/traits/src/bin/getters_in_traits.rs -------------------------------------------------------------------------------- /traits/src/bin/implementing_the_clone_trait.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/traits/src/bin/implementing_the_clone_trait.rs -------------------------------------------------------------------------------- /traits/src/bin/implementing_the_copy_trait.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/traits/src/bin/implementing_the_copy_trait.rs -------------------------------------------------------------------------------- /traits/src/bin/implementing_the_debug_trait.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/traits/src/bin/implementing_the_debug_trait.rs -------------------------------------------------------------------------------- /traits/src/bin/implementing_the_display_trait_on_a_struct.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/traits/src/bin/implementing_the_display_trait_on_a_struct.rs -------------------------------------------------------------------------------- /traits/src/bin/implementing_the_display_trait_on_an_enum.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/traits/src/bin/implementing_the_display_trait_on_an_enum.rs -------------------------------------------------------------------------------- /traits/src/bin/implementing_the_drop_trait.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/traits/src/bin/implementing_the_drop_trait.rs -------------------------------------------------------------------------------- /traits/src/bin/implementing_the_eq_trait.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/traits/src/bin/implementing_the_eq_trait.rs -------------------------------------------------------------------------------- /traits/src/bin/implementing_the_partial_eq_trait_for_enums.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/traits/src/bin/implementing_the_partial_eq_trait_for_enums.rs -------------------------------------------------------------------------------- /traits/src/bin/implementing_the_partial_ord_trait.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/traits/src/bin/implementing_the_partial_ord_trait.rs -------------------------------------------------------------------------------- /traits/src/bin/implementing_trait_for_struct_I.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/traits/src/bin/implementing_trait_for_struct_I.rs -------------------------------------------------------------------------------- /traits/src/bin/implementing_trait_for_struct_II.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/traits/src/bin/implementing_trait_for_struct_II.rs -------------------------------------------------------------------------------- /traits/src/bin/multiple_trait_bounds.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/traits/src/bin/multiple_trait_bounds.rs -------------------------------------------------------------------------------- /traits/src/bin/setters_in_traits.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/traits/src/bin/setters_in_traits.rs -------------------------------------------------------------------------------- /traits/src/bin/supertraits.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/traits/src/bin/supertraits.rs -------------------------------------------------------------------------------- /traits/src/bin/trait_bound_syntax.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/traits/src/bin/trait_bound_syntax.rs -------------------------------------------------------------------------------- /traits/src/bin/trait_bounds_to_conditionally_implement_methods.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/traits/src/bin/trait_bounds_to_conditionally_implement_methods.rs -------------------------------------------------------------------------------- /traits/src/bin/trait_must_be_in_scope_to_use_its_definitions.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/traits/src/bin/trait_must_be_in_scope_to_use_its_definitions.rs -------------------------------------------------------------------------------- /traits/src/bin/traits_as_function_return_values.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/traits/src/bin/traits_as_function_return_values.rs -------------------------------------------------------------------------------- /traits/src/bin/traits_for_function_parameter_constraints.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/traits/src/bin/traits_for_function_parameter_constraints.rs -------------------------------------------------------------------------------- /traits/src/bin/traits_with_generics.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/traits/src/bin/traits_with_generics.rs -------------------------------------------------------------------------------- /traits/src/bin/where_clauses.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/traits/src/bin/where_clauses.rs -------------------------------------------------------------------------------- /traits/src/coding_challenge.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/traits/src/coding_challenge.rs -------------------------------------------------------------------------------- /traits/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() {} 2 | -------------------------------------------------------------------------------- /variables-and-mutability/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | -------------------------------------------------------------------------------- /variables-and-mutability/.vscode/extensions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/variables-and-mutability/.vscode/extensions.json -------------------------------------------------------------------------------- /variables-and-mutability/.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/variables-and-mutability/.vscode/settings.json -------------------------------------------------------------------------------- /variables-and-mutability/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/variables-and-mutability/Cargo.lock -------------------------------------------------------------------------------- /variables-and-mutability/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/variables-and-mutability/Cargo.toml -------------------------------------------------------------------------------- /variables-and-mutability/assets/Section Review.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/variables-and-mutability/assets/Section Review.pdf -------------------------------------------------------------------------------- /variables-and-mutability/src/bin/constants.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/variables-and-mutability/src/bin/constants.rs -------------------------------------------------------------------------------- /variables-and-mutability/src/bin/immutable_and_mutable_variables.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/variables-and-mutability/src/bin/immutable_and_mutable_variables.rs -------------------------------------------------------------------------------- /variables-and-mutability/src/bin/interpolation_with_curly_braces.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/variables-and-mutability/src/bin/interpolation_with_curly_braces.rs -------------------------------------------------------------------------------- /variables-and-mutability/src/bin/intro_to_compiler_directives.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/variables-and-mutability/src/bin/intro_to_compiler_directives.rs -------------------------------------------------------------------------------- /variables-and-mutability/src/bin/intro_to_variables.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/variables-and-mutability/src/bin/intro_to_variables.rs -------------------------------------------------------------------------------- /variables-and-mutability/src/bin/positional_arguments_to_println.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/variables-and-mutability/src/bin/positional_arguments_to_println.rs -------------------------------------------------------------------------------- /variables-and-mutability/src/bin/scopes.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/variables-and-mutability/src/bin/scopes.rs -------------------------------------------------------------------------------- /variables-and-mutability/src/bin/type_aliases.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/variables-and-mutability/src/bin/type_aliases.rs -------------------------------------------------------------------------------- /variables-and-mutability/src/bin/underscore_with_variables.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/variables-and-mutability/src/bin/underscore_with_variables.rs -------------------------------------------------------------------------------- /variables-and-mutability/src/bin/variable_shadowing.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/variables-and-mutability/src/bin/variable_shadowing.rs -------------------------------------------------------------------------------- /variables-and-mutability/src/coding_challenge.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/variables-and-mutability/src/coding_challenge.rs -------------------------------------------------------------------------------- /variables-and-mutability/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() {} 2 | -------------------------------------------------------------------------------- /vectors/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | -------------------------------------------------------------------------------- /vectors/.vscode/extensions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/vectors/.vscode/extensions.json -------------------------------------------------------------------------------- /vectors/.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/vectors/.vscode/settings.json -------------------------------------------------------------------------------- /vectors/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/vectors/Cargo.lock -------------------------------------------------------------------------------- /vectors/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/vectors/Cargo.toml -------------------------------------------------------------------------------- /vectors/assets/Section Review.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/vectors/assets/Section Review.pdf -------------------------------------------------------------------------------- /vectors/src/bin/adding_and_removing_elements.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/vectors/src/bin/adding_and_removing_elements.rs -------------------------------------------------------------------------------- /vectors/src/bin/create_a_vector.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/vectors/src/bin/create_a_vector.rs -------------------------------------------------------------------------------- /vectors/src/bin/ownership_with_vectors.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/vectors/src/bin/ownership_with_vectors.rs -------------------------------------------------------------------------------- /vectors/src/bin/reading_vector_elements.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/vectors/src/bin/reading_vector_elements.rs -------------------------------------------------------------------------------- /vectors/src/bin/the_get_method.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/vectors/src/bin/the_get_method.rs -------------------------------------------------------------------------------- /vectors/src/bin/vector_capacity_behind_the_scenes.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/vectors/src/bin/vector_capacity_behind_the_scenes.rs -------------------------------------------------------------------------------- /vectors/src/bin/writing_vector_elements.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/vectors/src/bin/writing_vector_elements.rs -------------------------------------------------------------------------------- /vectors/src/coding_challenge.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/vectors/src/coding_challenge.rs -------------------------------------------------------------------------------- /vectors/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() { 2 | } 3 | -------------------------------------------------------------------------------- /warehouse/.vscode/extensions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/warehouse/.vscode/extensions.json -------------------------------------------------------------------------------- /warehouse/.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/warehouse/.vscode/settings.json -------------------------------------------------------------------------------- /warehouse/Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/warehouse/Cargo.lock -------------------------------------------------------------------------------- /warehouse/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/warehouse/Cargo.toml -------------------------------------------------------------------------------- /warehouse/assets/Packages and Crates.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/warehouse/assets/Packages and Crates.pdf -------------------------------------------------------------------------------- /warehouse/assets/Section Review.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/paskhaver/learn-to-code-with-rust/HEAD/warehouse/assets/Section Review.pdf -------------------------------------------------------------------------------- /warehouse/src/main.rs: -------------------------------------------------------------------------------- 1 | fn main() {} 2 | --------------------------------------------------------------------------------