diff options
| author | Steve Klabnik <steve@steveklabnik.com> | 2015-02-10 22:09:42 -0500 |
|---|---|---|
| committer | Steve Klabnik <steve@steveklabnik.com> | 2015-02-13 12:32:37 -0500 |
| commit | ad2efdc67d871b18cc984eeb0b8d1d9b38daffb7 (patch) | |
| tree | 91eaf3ff0503453f937764d125757d35dd01d4fb /src | |
| parent | 005a2506a6331cf636f7fc106587554adb152713 (diff) | |
| download | rust-ad2efdc67d871b18cc984eeb0b8d1d9b38daffb7.tar.gz rust-ad2efdc67d871b18cc984eeb0b8d1d9b38daffb7.zip | |
Instead of putting them in the book, make them READMEs.
Diffstat (limited to 'src')
| -rw-r--r-- | src/doc/trpl/README.md | 4 | ||||
| -rw-r--r-- | src/doc/trpl/SUMMARY.md | 13 | ||||
| -rw-r--r-- | src/doc/trpl/internals.md | 4 | ||||
| -rw-r--r-- | src/librustc/middle/infer/README.md (renamed from src/doc/trpl/inference.md) | 0 | ||||
| -rw-r--r-- | src/librustc/middle/infer/higher_ranked/README.md (renamed from src/doc/trpl/higher-ranked-items.md) | 0 | ||||
| -rw-r--r-- | src/librustc/middle/infer/mod.rs | 1 | ||||
| -rw-r--r-- | src/librustc/middle/infer/region_inference/README.md (renamed from src/doc/trpl/region-inference.md) | 0 | ||||
| -rw-r--r-- | src/librustc/middle/traits/README.md (renamed from src/doc/trpl/trait-resolution.md) | 0 | ||||
| -rw-r--r-- | src/librustc_borrowck/borrowck/README.md (renamed from src/doc/trpl/borrow-checker.md) | 0 | ||||
| -rw-r--r-- | src/librustc_borrowck/borrowck/mod.rs | 2 | ||||
| -rw-r--r-- | src/librustc_typeck/check/method/README.md (renamed from src/doc/trpl/method-lookup.md) | 0 |
11 files changed, 3 insertions, 21 deletions
diff --git a/src/doc/trpl/README.md b/src/doc/trpl/README.md index 10b65b13f5a..eb9e2b24ac9 100644 --- a/src/doc/trpl/README.md +++ b/src/doc/trpl/README.md @@ -33,7 +33,3 @@ chapters focus on the most complex features, as well as some things that are only available in upcoming versions of Rust. After reading "Advanced," you'll be a Rust expert! - -<h2 class="section-header"><a href="internals.html">Internals</a></h2> - -This section is full of documentaion of compiler internals. Here be dragons. diff --git a/src/doc/trpl/SUMMARY.md b/src/doc/trpl/SUMMARY.md index a1212a94d8c..bfc1247dc3b 100644 --- a/src/doc/trpl/SUMMARY.md +++ b/src/doc/trpl/SUMMARY.md @@ -1,6 +1,6 @@ # Summary -* [The Basics](basic.md) +* [I: The Basics](basic.md) * [Installing Rust](installing-rust.md) * [Hello, world!](hello-world.md) * [Hello, Cargo!](hello-cargo.md) @@ -15,7 +15,7 @@ * [Arrays, Vectors, and Slices](arrays-vectors-and-slices.md) * [Standard Input](standard-input.md) * [Guessing Game](guessing-game.md) -* [Intermediate Rust](intermediate.md) +* [II: Intermediate Rust](intermediate.md) * [More Strings](more-strings.md) * [Crates and Modules](crates-and-modules.md) * [Testing](testing.md) @@ -31,16 +31,9 @@ * [Concurrency](concurrency.md) * [Error Handling](error-handling.md) * [Documentation](documentation.md) -* [Advanced Topics](advanced.md) +* [III: Advanced Topics](advanced.md) * [FFI](ffi.md) * [Unsafe Code](unsafe.md) * [Macros](macros.md) * [Compiler Plugins](plugins.md) -* [Compiler Internals](internals.md) - * [Borrow Checker](borrow-checker.md) - * [Trait Resolution](trait-resolution.md) - * [Inference](inference.md) - * [Higher Ranked Items](higher-ranked-items.md) - * [Region Inference](region-inference.md) - * [Method Lookup](method-lookup.md) * [Conclusion](conclusion.md) diff --git a/src/doc/trpl/internals.md b/src/doc/trpl/internals.md deleted file mode 100644 index f1914508658..00000000000 --- a/src/doc/trpl/internals.md +++ /dev/null @@ -1,4 +0,0 @@ -% Compiler Internals - -This section is full of stuff that's the most complex, and the most internal. -Here be dragons. diff --git a/src/doc/trpl/inference.md b/src/librustc/middle/infer/README.md index c835189820e..c835189820e 100644 --- a/src/doc/trpl/inference.md +++ b/src/librustc/middle/infer/README.md diff --git a/src/doc/trpl/higher-ranked-items.md b/src/librustc/middle/infer/higher_ranked/README.md index 3414c7515a3..3414c7515a3 100644 --- a/src/doc/trpl/higher-ranked-items.md +++ b/src/librustc/middle/infer/higher_ranked/README.md diff --git a/src/librustc/middle/infer/mod.rs b/src/librustc/middle/infer/mod.rs index 472bac40eee..f52da437c12 100644 --- a/src/librustc/middle/infer/mod.rs +++ b/src/librustc/middle/infer/mod.rs @@ -46,7 +46,6 @@ use self::unify::{UnificationTable, InferCtxtMethodsForSimplyUnifiableTypes}; use self::error_reporting::ErrorReporting; pub mod combine; -pub mod doc; pub mod equate; pub mod error_reporting; pub mod glb; diff --git a/src/doc/trpl/region-inference.md b/src/librustc/middle/infer/region_inference/README.md index a009e0a8234..a009e0a8234 100644 --- a/src/doc/trpl/region-inference.md +++ b/src/librustc/middle/infer/region_inference/README.md diff --git a/src/doc/trpl/trait-resolution.md b/src/librustc/middle/traits/README.md index 9c47d7f217a..9c47d7f217a 100644 --- a/src/doc/trpl/trait-resolution.md +++ b/src/librustc/middle/traits/README.md diff --git a/src/doc/trpl/borrow-checker.md b/src/librustc_borrowck/borrowck/README.md index c5a30428922..c5a30428922 100644 --- a/src/doc/trpl/borrow-checker.md +++ b/src/librustc_borrowck/borrowck/README.md diff --git a/src/librustc_borrowck/borrowck/mod.rs b/src/librustc_borrowck/borrowck/mod.rs index 3bfb7ad40c5..10f32c76ebe 100644 --- a/src/librustc_borrowck/borrowck/mod.rs +++ b/src/librustc_borrowck/borrowck/mod.rs @@ -41,8 +41,6 @@ use syntax::visit; use syntax::visit::{Visitor, FnKind}; use syntax::ast::{FnDecl, Block, NodeId}; -pub mod doc; - pub mod check_loans; pub mod gather_loans; diff --git a/src/doc/trpl/method-lookup.md b/src/librustc_typeck/check/method/README.md index 367273dc635..367273dc635 100644 --- a/src/doc/trpl/method-lookup.md +++ b/src/librustc_typeck/check/method/README.md |
