mirror of
https://github.com/rust-lang-cn/book-cn.git
synced 2025-02-02 15:28:40 +08:00
Initial skeleton TOC
This is what we're gonna start with. I still reserve the right to change this around a bit, but I think it's much better.
This commit is contained in:
parent
2022f08eed
commit
3ba23d3b1e
@ -1,3 +1,88 @@
|
||||
# The Rust Programming Language
|
||||
|
||||
- [Hello, world!](hello-world.md)
|
||||
- [Introduction](introduction.md)
|
||||
- [The Design of Rust](design.md)
|
||||
- [Installation](installation.md)
|
||||
- [Hello, World!](hello-world.md)
|
||||
|
||||
- [Tutorial](tutorial.md)
|
||||
|
||||
- [The Basics](basics.md)
|
||||
- [Variable Bindings](variable-bindings.md)
|
||||
- [Functions](functions.md)
|
||||
- [Primitive Types](primitive-types.md)
|
||||
- [Comments](comments.md)
|
||||
- [`if`](if.md)
|
||||
- [Loops](loops.md)
|
||||
|
||||
- [Ownership & borrowing](ownership-and-borrowing.md)
|
||||
- [Ownership](ownership.md)
|
||||
- [References & Borrowing](references-and-borrowing.md)
|
||||
- [Lifetimes](lifetimes.md)
|
||||
|
||||
- [Basic Data Types](basic-data-types.md)
|
||||
- [Structs](structs.md)
|
||||
- [Enums](enums.md)
|
||||
|
||||
- [Crates & Modules](crates-and-modules)
|
||||
|
||||
- [Error Handling](error-handling.md)
|
||||
|
||||
- [Basic Collections](basic-collections.md)
|
||||
- [Vectors](vectors.md)
|
||||
- [Strings](strings.md)
|
||||
- [`HashMap<K, V>`](hashmap.md)
|
||||
|
||||
- [Traits](traits.md)
|
||||
|
||||
- [Closures](closures.md)
|
||||
|
||||
- [Iterators](iterators.md)
|
||||
|
||||
- [I/O](io.md)
|
||||
- [`Read` & `Write`](read-and-write.md)
|
||||
- [`std::fs`](fs.md)
|
||||
- [`std::path`](path.md)
|
||||
- [`std::env`](env.md)
|
||||
|
||||
- [Testing](testing.md)
|
||||
|
||||
- [Smart Pointers](smart-pointers.md)
|
||||
- [`Deref`](deref.md)
|
||||
- [`Deref` coercions](deref-coercions.md)
|
||||
- [`Box<T>`](box.md)
|
||||
- [`Rc<T>`](rc.md)
|
||||
|
||||
- [Concurrency](concurrency.md)
|
||||
- [Threads](threads.md)
|
||||
- [`Send` & `Sync`](send-and-sync.md)
|
||||
- [`Arc<T>`](arc.md)
|
||||
- [`Mutex<T>`](mutex.md)
|
||||
- [`Channels`](channels.md)
|
||||
|
||||
- [Unsafe Rust](unsafe-rust.md)
|
||||
- [Raw Pointers](raw-pointers.md)
|
||||
- [transmute](transmute.md)
|
||||
|
||||
- [FFI](ffi.md)
|
||||
- [Conditional Compilation](conditional-compilation.md)
|
||||
- [Bindings to C](bindings-to-c.md)
|
||||
- [Using Rust from Other Languages](using-rust-from-other-languages.md)
|
||||
- [`static`](static.md)
|
||||
|
||||
- [Cargo](cargo.md)
|
||||
- [Crates.io](cratesio.md)
|
||||
|
||||
- [Advanced Type System Features](advanced-type-system-features.md)
|
||||
- [Associated Types](associated-types.md)
|
||||
- [Trait Objects](trait-objects.md)
|
||||
- [UFCS](ufcs.md)
|
||||
- [Coherence](coherence.md)
|
||||
|
||||
- [Interior mutability](interior-mutability.md)
|
||||
- [`Cell<T>`](cell.md)
|
||||
- [`RefCell<T>`](refcell.md)
|
||||
|
||||
- [Macros](macros.md)
|
||||
|
||||
- [Nightly Rust](nightly-rust.md)
|
||||
|
1
src/advanced-type-system-features.md
Normal file
1
src/advanced-type-system-features.md
Normal file
@ -0,0 +1 @@
|
||||
# Advanced Type System Features
|
1
src/arc.md
Normal file
1
src/arc.md
Normal file
@ -0,0 +1 @@
|
||||
# `Arc<T>`
|
1
src/associated-types.md
Normal file
1
src/associated-types.md
Normal file
@ -0,0 +1 @@
|
||||
# Associated Types
|
1
src/basic-collections.md
Normal file
1
src/basic-collections.md
Normal file
@ -0,0 +1 @@
|
||||
# Basic Collections
|
1
src/basic-data-types.md
Normal file
1
src/basic-data-types.md
Normal file
@ -0,0 +1 @@
|
||||
# Basic Data Types
|
1
src/basics.md
Normal file
1
src/basics.md
Normal file
@ -0,0 +1 @@
|
||||
# The Basics
|
1
src/bindings-to-c.md
Normal file
1
src/bindings-to-c.md
Normal file
@ -0,0 +1 @@
|
||||
# Bindings to C
|
1
src/box.md
Normal file
1
src/box.md
Normal file
@ -0,0 +1 @@
|
||||
# `Box<T>`
|
1
src/cargo.md
Normal file
1
src/cargo.md
Normal file
@ -0,0 +1 @@
|
||||
# Cargo
|
1
src/cell.md
Normal file
1
src/cell.md
Normal file
@ -0,0 +1 @@
|
||||
# `Cell<T>`
|
1
src/channels.md
Normal file
1
src/channels.md
Normal file
@ -0,0 +1 @@
|
||||
# `Channels`
|
1
src/closures.md
Normal file
1
src/closures.md
Normal file
@ -0,0 +1 @@
|
||||
# Closures
|
1
src/coherence.md
Normal file
1
src/coherence.md
Normal file
@ -0,0 +1 @@
|
||||
# Coherence
|
1
src/comments.md
Normal file
1
src/comments.md
Normal file
@ -0,0 +1 @@
|
||||
# Comments
|
1
src/concurrency.md
Normal file
1
src/concurrency.md
Normal file
@ -0,0 +1 @@
|
||||
# Concurrency
|
1
src/conditional-compilation.md
Normal file
1
src/conditional-compilation.md
Normal file
@ -0,0 +1 @@
|
||||
# Conditional Compilation
|
2
src/core-concepts.md
Normal file
2
src/core-concepts.md
Normal file
@ -0,0 +1,2 @@
|
||||
# Core Concepts
|
||||
|
1
src/crates-and-modules
Normal file
1
src/crates-and-modules
Normal file
@ -0,0 +1 @@
|
||||
# Crates & Modules
|
1
src/cratesio.md
Normal file
1
src/cratesio.md
Normal file
@ -0,0 +1 @@
|
||||
# Crates.io
|
1
src/deref-coercions.md
Normal file
1
src/deref-coercions.md
Normal file
@ -0,0 +1 @@
|
||||
# `Deref` coercions
|
1
src/deref.md
Normal file
1
src/deref.md
Normal file
@ -0,0 +1 @@
|
||||
# `Deref`
|
1
src/design.md
Normal file
1
src/design.md
Normal file
@ -0,0 +1 @@
|
||||
# The Design of Rust
|
1
src/enums.md
Normal file
1
src/enums.md
Normal file
@ -0,0 +1 @@
|
||||
# Enums
|
1
src/env.md
Normal file
1
src/env.md
Normal file
@ -0,0 +1 @@
|
||||
# `std::env`
|
1
src/error-handling.md
Normal file
1
src/error-handling.md
Normal file
@ -0,0 +1 @@
|
||||
# Error Handling
|
1
src/ffi.md
Normal file
1
src/ffi.md
Normal file
@ -0,0 +1 @@
|
||||
# FFI
|
1
src/functions.md
Normal file
1
src/functions.md
Normal file
@ -0,0 +1 @@
|
||||
# Functions
|
1
src/hashmap.md
Normal file
1
src/hashmap.md
Normal file
@ -0,0 +1 @@
|
||||
# `HashMap<K, V>`
|
1
src/installation.md
Normal file
1
src/installation.md
Normal file
@ -0,0 +1 @@
|
||||
# Installation
|
1
src/interior-mutability.md
Normal file
1
src/interior-mutability.md
Normal file
@ -0,0 +1 @@
|
||||
# Interior mutability
|
1
src/introduction.md
Normal file
1
src/introduction.md
Normal file
@ -0,0 +1 @@
|
||||
# Introduction
|
1
src/iterators.md
Normal file
1
src/iterators.md
Normal file
@ -0,0 +1 @@
|
||||
# Iterators
|
1
src/lifetimes.md
Normal file
1
src/lifetimes.md
Normal file
@ -0,0 +1 @@
|
||||
# Lifetimes
|
1
src/loops.md
Normal file
1
src/loops.md
Normal file
@ -0,0 +1 @@
|
||||
# Loops
|
1
src/macros.md
Normal file
1
src/macros.md
Normal file
@ -0,0 +1 @@
|
||||
# Macros
|
1
src/mutex.md
Normal file
1
src/mutex.md
Normal file
@ -0,0 +1 @@
|
||||
# `Mutex<T>`
|
1
src/nightly-rust.md
Normal file
1
src/nightly-rust.md
Normal file
@ -0,0 +1 @@
|
||||
# Nightly Rust
|
1
src/ownership-and-borrowing.md
Normal file
1
src/ownership-and-borrowing.md
Normal file
@ -0,0 +1 @@
|
||||
# Ownership & borrowing
|
1
src/ownership.md
Normal file
1
src/ownership.md
Normal file
@ -0,0 +1 @@
|
||||
# Ownership
|
1
src/path.md
Normal file
1
src/path.md
Normal file
@ -0,0 +1 @@
|
||||
# `std::path`
|
1
src/primitive-types.md
Normal file
1
src/primitive-types.md
Normal file
@ -0,0 +1 @@
|
||||
# Primitive Types
|
1
src/raw-pointers.md
Normal file
1
src/raw-pointers.md
Normal file
@ -0,0 +1 @@
|
||||
# Raw Pointers
|
1
src/read-and-write.md
Normal file
1
src/read-and-write.md
Normal file
@ -0,0 +1 @@
|
||||
# `Read` & `Write`
|
1
src/refcell.md
Normal file
1
src/refcell.md
Normal file
@ -0,0 +1 @@
|
||||
# `RefCell<T>`
|
1
src/references-and-borrowing.md
Normal file
1
src/references-and-borrowing.md
Normal file
@ -0,0 +1 @@
|
||||
# References & Borrowing
|
1
src/send-and-sync.md
Normal file
1
src/send-and-sync.md
Normal file
@ -0,0 +1 @@
|
||||
# `Send` & `Sync`
|
1
src/smart-pointers.md
Normal file
1
src/smart-pointers.md
Normal file
@ -0,0 +1 @@
|
||||
# Smart Pointers
|
1
src/static.md
Normal file
1
src/static.md
Normal file
@ -0,0 +1 @@
|
||||
# `static`
|
1
src/strings.md
Normal file
1
src/strings.md
Normal file
@ -0,0 +1 @@
|
||||
# Strings
|
1
src/structs.md
Normal file
1
src/structs.md
Normal file
@ -0,0 +1 @@
|
||||
# Structs
|
1
src/testing.md
Normal file
1
src/testing.md
Normal file
@ -0,0 +1 @@
|
||||
# Testing
|
1
src/threads.md
Normal file
1
src/threads.md
Normal file
@ -0,0 +1 @@
|
||||
# Threads
|
1
src/trait-objects.md
Normal file
1
src/trait-objects.md
Normal file
@ -0,0 +1 @@
|
||||
# Trait Objects
|
1
src/traits.md
Normal file
1
src/traits.md
Normal file
@ -0,0 +1 @@
|
||||
# Traits
|
1
src/transmute.md
Normal file
1
src/transmute.md
Normal file
@ -0,0 +1 @@
|
||||
# transmute
|
1
src/tutorial.md
Normal file
1
src/tutorial.md
Normal file
@ -0,0 +1 @@
|
||||
# Tutorial
|
1
src/ufcs.md
Normal file
1
src/ufcs.md
Normal file
@ -0,0 +1 @@
|
||||
# UFCS
|
1
src/unsafe-rust.md
Normal file
1
src/unsafe-rust.md
Normal file
@ -0,0 +1 @@
|
||||
# Unsafe Rust
|
1
src/using-rust-from-other-languages.md
Normal file
1
src/using-rust-from-other-languages.md
Normal file
@ -0,0 +1 @@
|
||||
# Using Rust from Other Languages
|
1
src/variable-bindings.md
Normal file
1
src/variable-bindings.md
Normal file
@ -0,0 +1 @@
|
||||
# Variable Bindings
|
1
src/vectors.md
Normal file
1
src/vectors.md
Normal file
@ -0,0 +1 @@
|
||||
# Vectors
|
Loading…
Reference in New Issue
Block a user