mirror of
https://github.com/google/comprehensive-rust.git
synced 2024-11-28 18:11:07 +02:00
7cd25c0262
This PR moves the slides for slices and strings into the day 1 section on references. This seems like the more natural place to introduce slices since slices are a type of reference. It then also made sense to me to follow that with the introduction of `&str` and `String`, since students now have the context to understand what a "string slice" is. I also removed the strings slide from the types and values section since it didn't make sense to cover the same topic twice in the same day. I tested this new organization in my class on Wednesday and it didn't cause day 1 to take too long.
33 lines
774 B
TOML
33 lines
774 B
TOML
[workspace]
|
|
# Please keep the workspace members sorted.
|
|
members = [
|
|
"mdbook-course",
|
|
"mdbook-exerciser",
|
|
"src/android/testing",
|
|
"src/bare-metal/useful-crates/allocator-example",
|
|
"src/bare-metal/useful-crates/zerocopy-example",
|
|
"src/borrowing",
|
|
"src/control-flow-basics",
|
|
"src/error-handling",
|
|
"src/exercises",
|
|
"src/exercises/concurrency/chat-async",
|
|
"src/generics",
|
|
"src/iterators",
|
|
"src/lifetimes",
|
|
"src/memory-management",
|
|
"src/methods-and-traits",
|
|
"src/modules",
|
|
"src/pattern-matching",
|
|
"src/references",
|
|
"src/smart-pointers",
|
|
"src/std-traits",
|
|
"src/std-types",
|
|
"src/testing",
|
|
"src/tuples-and-arrays",
|
|
"src/types-and-values",
|
|
"src/unsafe-rust",
|
|
"src/user-defined-types",
|
|
"third_party/cxx/blobstore",
|
|
]
|
|
resolver = "2"
|