Skip to content

Commit 447904a

Browse files
Add 'Idiomatic Rust' to the course structure section
1 parent 51d050e commit 447904a

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

mdbook-course/src/replacements.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ pub fn replace(
4848
["course", "outline"] if course.is_some() => {
4949
course.unwrap().schedule()
5050
}
51-
["course", "outline", course_name] => {
51+
["course", "outline", course_name @ ..] => {
52+
let course_name = course_name.join(" ");
5253
let Some(course) = courses.find_course(course_name) else {
5354
return format!("not found - {}", captures[0].to_string());
5455
};

src/running-the-course/course-structure.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,16 @@ cargo run
7272

7373
{{%course outline Concurrency}}
7474

75+
### Idiomatic Rust
76+
77+
The [Idiomatic Rust](../idiomatic/welcome.md) deep dive is a 2-day class on Rust
78+
idioms and patterns.
79+
80+
You should be familiar with the material in
81+
[Rust Fundamentals](../welcome-day-1.md) before starting this course.
82+
83+
{{%course outline Idiomatic Rust}}
84+
7585
## Format
7686

7787
The course is meant to be very interactive and we recommend letting the

0 commit comments

Comments
 (0)