Formatter (#51)
authorLuca Palmieri <20745048+LukeMathWalker@users.noreply.github.com>
Fri, 24 May 2024 15:00:03 +0000 (17:00 +0200)
committerGitHub <noreply@github.com>
Fri, 24 May 2024 15:00:03 +0000 (17:00 +0200)
commit99591a715e63eed1940f7f60e53b727c65d39641
treeef34dd5678398c930606d7b97f1f8d6c82526eba
parent537118574bc05df23b83534bd73a43bb82e093f8
Formatter (#51)

Enforce consistent formatting use `dprint`
157 files changed:
.github/workflows/ci.yml
README.md
book/src/01_intro/00_welcome.md
book/src/01_intro/01_syntax.md
book/src/02_basic_calculator/00_intro.md
book/src/02_basic_calculator/01_integers.md
book/src/02_basic_calculator/02_variables.md
book/src/02_basic_calculator/03_if_else.md
book/src/02_basic_calculator/04_panics.md
book/src/02_basic_calculator/05_factorial.md
book/src/02_basic_calculator/06_while.md
book/src/02_basic_calculator/07_for.md
book/src/02_basic_calculator/08_overflow.md
book/src/02_basic_calculator/09_saturating.md
book/src/02_basic_calculator/10_as_casting.md
book/src/03_ticket_v1/00_intro.md
book/src/03_ticket_v1/01_struct.md
book/src/03_ticket_v1/02_validation.md
book/src/03_ticket_v1/03_modules.md
book/src/03_ticket_v1/04_visibility.md
book/src/03_ticket_v1/05_encapsulation.md
book/src/03_ticket_v1/06_ownership.md
book/src/03_ticket_v1/07_setters.md
book/src/03_ticket_v1/08_stack.md
book/src/03_ticket_v1/09_heap.md
book/src/03_ticket_v1/10_references_in_memory.md
book/src/03_ticket_v1/11_destructor.md
book/src/03_ticket_v1/12_outro.md
book/src/04_traits/00_intro.md
book/src/04_traits/01_trait.md
book/src/04_traits/02_orphan_rule.md
book/src/04_traits/03_operator_overloading.md
book/src/04_traits/04_derive.md
book/src/04_traits/05_trait_bounds.md
book/src/04_traits/06_str_slice.md
book/src/04_traits/07_deref.md
book/src/04_traits/08_sized.md
book/src/04_traits/09_from.md
book/src/04_traits/10_assoc_vs_generic.md
book/src/04_traits/11_clone.md
book/src/04_traits/12_copy.md
book/src/04_traits/13_drop.md
book/src/04_traits/14_outro.md
book/src/05_ticket_v2/00_intro.md
book/src/05_ticket_v2/01_enum.md
book/src/05_ticket_v2/02_match.md
book/src/05_ticket_v2/03_variants_with_data.md
book/src/05_ticket_v2/04_if_let.md
book/src/05_ticket_v2/05_nullability.md
book/src/05_ticket_v2/06_fallibility.md
book/src/05_ticket_v2/07_unwrap.md
book/src/05_ticket_v2/08_error_enums.md
book/src/05_ticket_v2/09_error_trait.md
book/src/05_ticket_v2/10_packages.md
book/src/05_ticket_v2/11_dependencies.md
book/src/05_ticket_v2/12_thiserror.md
book/src/05_ticket_v2/13_try_from.md
book/src/05_ticket_v2/14_source.md
book/src/05_ticket_v2/15_outro.md
book/src/06_ticket_management/00_intro.md
book/src/06_ticket_management/01_arrays.md
book/src/06_ticket_management/02_vec.md
book/src/06_ticket_management/03_resizing.md
book/src/06_ticket_management/04_iterators.md
book/src/06_ticket_management/05_iter.md
book/src/06_ticket_management/06_lifetimes.md
book/src/06_ticket_management/07_combinators.md
book/src/06_ticket_management/08_impl_trait.md
book/src/06_ticket_management/09_impl_trait_2.md
book/src/06_ticket_management/10_slices.md
book/src/06_ticket_management/11_mutable_slices.md
book/src/06_ticket_management/12_two_states.md
book/src/06_ticket_management/13_index.md
book/src/06_ticket_management/14_index_mut.md
book/src/06_ticket_management/15_hashmap.md
book/src/06_ticket_management/16_btreemap.md
book/src/07_threads/00_intro.md
book/src/07_threads/01_threads.md
book/src/07_threads/02_static.md
book/src/07_threads/03_leak.md
book/src/07_threads/04_scoped_threads.md
book/src/07_threads/05_channels.md
book/src/07_threads/06_interior_mutability.md
book/src/07_threads/07_ack.md
book/src/07_threads/08_client.md
book/src/07_threads/09_bounded.md
book/src/07_threads/10_patch.md
book/src/07_threads/11_locks.md
book/src/07_threads/12_rw_lock.md
book/src/07_threads/13_without_channels.md
book/src/07_threads/14_sync.md
book/src/08_futures/00_intro.md
book/src/08_futures/01_async_fn.md
book/src/08_futures/02_spawn.md
book/src/08_futures/03_runtime.md
book/src/08_futures/04_future.md
book/src/08_futures/05_blocking.md
book/src/08_futures/06_async_aware_primitives.md
book/src/08_futures/07_cancellation.md
book/src/08_futures/08_outro.md
book/src/SUMMARY.md
book/src/going_further.md
dprint.json [new file with mode: 0644]
exercises/02_basic_calculator/05_factorial/Cargo.toml
exercises/02_basic_calculator/06_while/Cargo.toml
exercises/02_basic_calculator/07_for/Cargo.toml
exercises/02_basic_calculator/08_overflow/Cargo.toml
exercises/02_basic_calculator/09_saturating/Cargo.toml
exercises/02_basic_calculator/10_as_casting/Cargo.toml
exercises/03_ticket_v1/01_struct/Cargo.toml
exercises/03_ticket_v1/02_validation/Cargo.toml
exercises/03_ticket_v1/03_modules/Cargo.toml
exercises/03_ticket_v1/04_visibility/Cargo.toml
exercises/03_ticket_v1/06_ownership/Cargo.toml
exercises/03_ticket_v1/08_stack/Cargo.toml
exercises/03_ticket_v1/09_heap/Cargo.toml
exercises/03_ticket_v1/10_references_in_memory/Cargo.toml
exercises/03_ticket_v1/11_destructor/Cargo.toml
exercises/03_ticket_v1/12_outro/Cargo.toml
exercises/04_traits/01_trait/Cargo.toml
exercises/04_traits/02_orphan_rule/Cargo.toml
exercises/04_traits/03_operator_overloading/Cargo.toml
exercises/04_traits/04_derive/Cargo.toml
exercises/04_traits/05_trait_bounds/Cargo.toml
exercises/04_traits/07_deref/Cargo.toml
exercises/04_traits/08_sized/Cargo.toml
exercises/04_traits/09_from/Cargo.toml
exercises/04_traits/10_assoc_vs_generic/Cargo.toml
exercises/04_traits/11_clone/Cargo.toml
exercises/04_traits/12_copy/Cargo.toml
exercises/04_traits/13_drop/Cargo.toml
exercises/04_traits/14_outro/Cargo.toml
exercises/05_ticket_v2/02_match/Cargo.toml
exercises/05_ticket_v2/04_if_let/Cargo.toml
exercises/05_ticket_v2/09_error_trait/Cargo.toml
exercises/05_ticket_v2/10_packages/Cargo.toml
exercises/05_ticket_v2/13_try_from/Cargo.toml
exercises/05_ticket_v2/15_outro/Cargo.toml
exercises/06_ticket_management/04_iterators/Cargo.toml
exercises/06_ticket_management/05_iter/Cargo.toml
exercises/06_ticket_management/06_lifetimes/Cargo.toml
exercises/07_threads/01_threads/Cargo.toml
exercises/07_threads/02_static/Cargo.toml
exercises/07_threads/03_leak/Cargo.toml
exercises/07_threads/04_scoped_threads/Cargo.toml
exercises/07_threads/10_patch/Cargo.toml
exercises/07_threads/11_locks/Cargo.toml
exercises/07_threads/12_rw_lock/Cargo.toml
exercises/08_futures/01_async_fn/Cargo.toml
exercises/08_futures/02_spawn/Cargo.toml
exercises/08_futures/03_runtime/Cargo.toml
exercises/08_futures/04_future/Cargo.toml
exercises/08_futures/05_blocking/Cargo.toml
exercises/08_futures/06_async_aware_primitives/Cargo.toml
exercises/08_futures/07_cancellation/Cargo.toml
exercises/08_futures/08_outro/Cargo.toml
helpers/ticket_fields/Cargo.toml