diff --git a/Readme.md b/Readme.md index 7a7cd43..da0ae1d 100644 --- a/Readme.md +++ b/Readme.md @@ -11,7 +11,25 @@ This book was designed for easily diving into Rust,and it's very easy to use: - Difficulty from easy to super hard: easy 🌟 medium 🌟🌟 hard 🌟🌟🌟 super hard 🌟🌟🌟🌟 - Both English and Chinese are supported -## Indexes - - +## ToC +- [Variables](src/variables.md) +- [Basic Types](src/basic-types/intro.md) + - [Numbers](src/basic-types/numbers.md) + - [Char, Bool and Unit](src/basic-types/char-bool-unit.md) + - [Statements and Expressions](src/basic-types/statements-expressions.md) + - [Functions](src/basic-types/functions.md) +- [Ownership and Borrowing](src/ownership/intro.md) + - [Ownership](src/ownership/ownership.md) + - [Reference and Borrowing](src/ownership/borrowing.md) +- [Compound Types](src/compound-types/intro.md) + - [string](src/compound-types/string.md) + - [Array](src/compound-types/array.md) + - [Slice](src/compound-types/slice.md) + - [Tuple](src/compound-types/tuple.md) + - [Struct](src/compound-types/struct.md) + - [Enum](src/compound-types/enum.md) +- [Flow Control](src/flow-control.md) +- [Pattern Match](src/pattern-match/intro.md) + - [match, matches! and if let](src/pattern-match/match-iflet.md) + - [Patterns](src/pattern-match/patterns.md)