Skip to content

Commit b43b570

Browse files
committed
re-work last few chapters
Now that "Advanced type systems" is pretty much only two things, merging the lifetimes chapter, which is very short, into it makes a lot of sense. In addition, we kinda wanted to see if we could fit another project in here anyway, so let's do this and then it makes room!
1 parent eca768b commit b43b570

File tree

4 files changed

+15
-13
lines changed

4 files changed

+15
-13
lines changed

src/SUMMARY.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,9 @@
8888

8989
- [Patterns](ch18-00-patterns.md) (perhaps an appendix?)
9090

91-
- [More Lifetimes](ch19-00-more-lifetimes.md) (perhaps merge this into advanced type system features?)
91+
- [Advanced Features](ch19-00-advanced-features.md)
9292

93-
- [Advanced Type System Features](ch20-00-advanced-types.md) (perhaps called "Advanced Traits"?)
93+
- [Un-named project](ch20-00-unnamed-project.md)
9494

9595
- [Appendix](appendix-00.md)
9696
- [Keywords](appendix-01-keywords.md)

src/ch20-00-advanced-types.md renamed to src/ch19-00-advanced-features.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,18 @@ You have to write unsafe code to FFI
3333

3434
### Unsafe Traits
3535

36+
## More Lifetimes
37+
38+
### Lifetimes that depend on other lifetimes
39+
40+
'a: 'b stuff: subtyping
41+
42+
### Higher ranked trait bounds
43+
44+
for<'a>
45+
46+
Needed for closures
47+
3648
## Associated Types
3749

3850
More common than the other things, less common than the rest of the book

src/ch19-00-more-lifetimes.md

Lines changed: 0 additions & 11 deletions
This file was deleted.

src/ch20-00-unnamed-project.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Un-named project

0 commit comments

Comments
 (0)