| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2015-12-02 | book: Change mention of unused `return` to `panic!` | Ori Avtalion | -1/+1 | |
| 2015-12-01 | trpl: explain how to inhibit rustdoc's auto-main | Alex Burka | -9/+16 | |
| I think this fixes #30137. I basically just repeated some details that were scattered around other places in this document, and emphasized that you probably don't want an `extern crate` or `mod` statement to end up inside a function. | ||||
| 2015-12-01 | Clarify ambiguity about how to ask Cargo for a specific version | Paul A. Jungwirth | -3/+7 | |
| 2015-12-01 | Fix wording in Guessing Game | Ori Avtalion | -2/+2 | |
| 2015-12-01 | trpl: additions & fixes for syntax index. | Daniel Keep | -2/+6 | |
| * `const`: Add reference to raw pointers * Change `expr!(...)` etc. examples to use `ident` instead. *Technically*, it should be `pat`, but that's not how it works in practice. * `|`: add reference to closure syntax. * Closure syntax entry. * Indexing and slicing entries. | ||||
| 2015-11-30 | Rollup merge of #30115 - nilcons-contrib:fix-book-stack, r=steveklabnik | Steve Klabnik | -1/+1 | |
| The `f` argument will reference the actual value in the `d` box, not the box in the `bar`'s stack frame. I am just learning Rust, so I don't know how to explain this well, but just from `f`'s type it is clear that it will be a pointer to an `i32`, not a pointer to a pointer. Some `println!("{:p}", ...)`'s can easily confirm this. I would actually suggest to remove/simplify this part of the example. This is a subtle issue that can easily confuse people at the early stages of familiarizing with the language. (As I got confused by it. :)) | ||||
| 2015-11-30 | Rollup merge of #30114 - sourcefrog:doc-casts2, r=Manishearth | Steve Klabnik | -7/+19 | |
| 2015-11-30 | Rollup merge of #30108 - bhargavrpatel:master, r=steveklabnik | Steve Klabnik | -1/+1 | |
| 2015-11-30 | Correct grammar | Martin Pool | -1/+1 | |
| Thanks @Manishearth | ||||
| 2015-11-30 | Additional text and examples around casting | Martin Pool | -7/+19 | |
| 2015-11-30 | Fix pointer value in the 'complex example' | Mihaly Barasz | -1/+1 | |
| The `f` argument will reference the actual value in the `d` box, not the box in the `bar`'s stack frame. | ||||
| 2015-11-30 | Remove broken explicit coercion example | Martin Pool | -7/+0 | |
| 2015-11-29 | Change verbiage in Stack & Heap page | Bhargav Patel | -1/+1 | |
| Made a small change in the sentence. It seemed confusing to read the word "actual" twice in the sentence; I removed it completely. | ||||
| 2015-11-29 | Auto merge of #30088 - sourcefrog:doc-casts, r=steveklabnik | bors | -5/+113 | |
| Based on the description in https://github.com/rust-lang/rust/blob/219eca11b044de3644b3e9101124513c1a842b09/src/librustc_typeck/check/cast.rs#L11 and https://doc.rust-lang.org/nightly/nomicon/casts.html | ||||
| 2015-11-29 | Rephrased description of casting | Martin Pool | -9/+21 | |
| 2015-11-29 | Add information about numeric casts, from the nomicon | Martin Pool | -0/+26 | |
| 2015-11-29 | Auto merge of #30059 - androm3da:master, r=bluss | bors | -6/+6 | |
| 2015-11-28 | Auto merge of #29651 - tshepang:misc, r=steveklabnik | bors | -5/+8 | |
| 2015-11-28 | doc(book/ffi): remove duplicate link reference `[libc]' | xd1le | -2/+0 | |
| 2015-11-27 | Attempted documentation of coercions | Martin Pool | -3/+19 | |
| Trying to summarize here only the cases that will make sense at the level of the rust book | ||||
| 2015-11-27 | Copy in some documentation about which casts are legal | Martin Pool | -5/+59 | |
| 2015-11-27 | Shifted focus of while-let example per review. | ebadf | -6/+5 | |
| 2015-11-26 | move librustc/plugin to librustc_plugin | Ariel Ben-Yehuda | -5/+7 | |
| this is a [breaking-change] to all plugin authors - sorry | ||||
| 2015-11-25 | Corrections to the while-let example per review. | ebadf | -5/+4 | |
| 2015-11-26 | Auto merge of #30053 - JIghtuse:master, r=steveklabnik | bors | -0/+1 | |
| 2015-11-26 | book: miscellaneous improvements to "dining philosophers" example | Tshepang Lekhonkhobe | -5/+8 | |
| 2015-11-25 | Updated "while let" example. | androm3da | -3/+5 | |
| 2015-11-25 | trpl: Fix example logic in error handling chapter | Boris Egorov | -0/+1 | |
| 2015-11-24 | Add cargo instructions for dinning_philosopher project | Matthias Bussonnier | -2/+11 | |
| At this point of the book, reader have likely use `cargo new --bin`, likely 2 times, once if they are lazy. This remind them of the `cargo` syntax. I was myself unsure whether it was `cargo create`, `cargo new`, and whether it would initialize in current working directory or needed a target. | ||||
| 2015-11-24 | fixed inconsistent indentation in book example | Alex Gaynor | -1/+1 | |
| looks like a case of mixed tabs and spaces | ||||
| 2015-11-23 | wording: results don't fail | Philipp Matthias Schäfer | -1/+1 | |
| 2015-11-21 | change link on book front page trpl -> book | Matthias Kauer | -3/+2 | |
| 2015-11-20 | Remove slice pattern from compiler plugin example | Florian Hahn | -4/+11 | |
| closes #29930 | ||||
| 2015-11-19 | src/doc/trpl -> src/doc/book | Steve Klabnik | -0/+18452 | |
| The book was located under 'src/doc/trpl' because originally, it was going to be hosted under that URL. Late in the game, before 1.0, we decided that /book was a better one, so we changed the output, but not the input. This causes confusion for no good reason. So we'll change the source directory to look like the output directory, like for every other thing in src/doc. | ||||
