| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2016-06-07 | Fixed based on feedback from steveklabnik | Andrew Brinker | -11/+7 | |
| 2016-06-01 | Rewrote "How Safe and Unsafe Interact" Nomicon chapter. | Andrew Brinker | -137/+118 | |
| The previous version of the chapter covered a lot of ground, but was a little meandering and hard to follow at times. This draft is intended to be clearer and more direct, while still providing the same information as the previous version. | ||||
| 2016-06-01 | Fix a few links in the book | Oliver Middleton | -1/+1 | |
| Links to directories and direct links to doc.rust-lang.org don't work properly when viewing the docs offline so fix them. | ||||
| 2016-05-09 | doc: Fix tiny typo in vec-alloc.md | Brian Green | -1/+1 | |
| Change `fast an loose` to `fast and loose`. | ||||
| 2016-04-23 | subtyping.md: typo fix | c4rlo | -1/+1 | |
| 2016-04-05 | improve error message | Ariel Ben-Yehuda | -1/+1 | |
| 2016-04-05 | suggest adding a where-clause when that can help | Ariel Ben-Yehuda | -1/+1 | |
| suggest adding a where-clause when there is an unmet trait-bound that can be satisfied if some type can implement it. | ||||
| 2016-03-30 | Update Rust version in the Rustonomicon Vec chapter | Matt Brubeck | -1/+1 | |
| I verified that the final code compiles in Rust 1.9.0-nightly. | ||||
| 2016-02-24 | Capitalize some occurences of Rust in documentation | Florian Hahn | -1/+1 | |
| 2016-01-17 | Fix spacing style of `T: Bound` in docs | Ulrik Sverdrup | -2/+2 | |
| The space between `T` and `Bound` is the typical style used in code and produced by rustdoc's rendering. Fixed first in Reflect's docs and then I fixed all occurrences in docs I could find. | ||||
| 2016-01-16 | Fixed indent from tabs to spaces | Jonas Tepe | -8/+8 | |
| 2016-01-16 | added zst iterator additions to final code | Jonas Tepe | -2/+10 | |
| 2016-01-16 | Semicolon was at wrong place in let statement | Jonas Tepe | -4/+4 | |
| 2016-01-07 | len needs to be prefixed by self for this to work. The final code in this ↵ | jonastepe | -2/+2 | |
| section of the book is correct. | ||||
| 2016-01-06 | heap::deallocate expects a *mut u8 but here a *mut T is given. The final ↵ | jonastepe | -1/+1 | |
| code is correct, the example here would not compile without the cast. I used *mut _ instead of *mut u8 to be consistent with the final code. | ||||
| 2015-12-17 | Change "big ask" to "tall order" in Rustonomicon. | Steve Wooster | -2/+2 | |
| The Rustonomicon's Lifetimes chapter uses the idiom "big ask", which is obscure compared to "tall order" (check Google ngrams). Also, it's easily mistaken for a typo; either "a big task" or "a big thing to ask" could plausibly work there. | ||||
| 2015-12-12 | nomicon: Mention contravariance | Ulrik Sverdrup | -4/+5 | |
| 2015-12-11 | nomicon: Fix variance in example | Ulrik Sverdrup | -1/+1 | |
| &'b mut B was described incorrectly (just in this example, is correct in the actual text). | ||||
| 2015-11-17 | Rollup merge of #29875 - steveklabnik:gh29784, r=Manishearth | Manish Goregaokar | -2/+1 | |
| Fixes #29784 | ||||
| 2015-11-16 | Remove nomicon reference to copy_lifetime | Steve Klabnik | -2/+1 | |
| Fixes #29784 | ||||
| 2015-11-16 | Nomicon: mention tuple structs with repr(c) | Steve Klabnik | -0/+3 | |
| Fixes #29526 | ||||
| 2015-11-07 | Fix typo | Jake Worth | -1/+1 | |
| 2015-10-30 | don't use drop_in_place as an intrinsic | Alexis Beingessner | -9/+6 | |
| 2015-10-22 | Add missing "to" in Rustonomicon Atomics. | Scott Olson | -5/+5 | |
| 2015-10-20 | Rollup merge of #29175 - durka:patch-8, r=Gankro | Steve Klabnik | -0/+1 | |
| Yay, markdown isn't standardized and rustbook's parser has subtle incompatibilities with Github's! So in the Github preview you don't see that this list fails to separate from the previous paragraph. I think this should fix it, but I didn't check. | ||||
| 2015-10-20 | Rollup merge of #29162 - tsion:fix-nomicon-typo, r=alexcrichton | Steve Klabnik | -1/+1 | |
| r? @steveklabnik | ||||
| 2015-10-19 | fix markdown in nomicon/dropck | Alex Burka | -0/+1 | |
| 2015-10-19 | Correct spelling in docs | Andrew Paseltiner | -1/+1 | |
| 2015-10-19 | Fix minor syntax error in example. | Scott Olson | -1/+1 | |
| 2015-10-16 | Update explanation about offset method | DenisKolodin | -2/+2 | |
| 2015-10-13 | Correct spelling in docs | Andrew Paseltiner | -31/+31 | |
| 2015-10-10 | doc: fixing typos | Kyle Robinson Young | -3/+3 | |
| 2015-10-10 | Auto merge of #28861 - pnkfelix:fsk-nonparam-dropck-issue28498, r=arielb1 | bors | -5/+154 | |
| implement RFC 1238: nonparametric dropck. cc #28498 cc @nikomatsakis | ||||
| 2015-10-09 | review comment: point out that the dropck analysis is now trivial. | Felix S. Klock II | -4/+6 | |
| 2015-10-08 | Document the new more conservative dropck rule and the escape hatch. | Felix S. Klock II | -5/+152 | |
| 2015-10-06 | Replace multiple trailing newlines with a single trailing newline | Carlos Liam | -1/+0 | |
| Sorry I didn’t get this in the last PR (#28864), I hadn’t thought of it. | ||||
| 2015-10-05 | Auto merge of #28847 - Ms2ger:typos, r=steveklabnik | bors | -10/+10 | |
| 2015-10-05 | docs: anchors fixes | Simon Mazur | -2/+2 | |
| 2015-10-05 | Fix some typos. | Ms2ger | -10/+10 | |
| 2015-09-12 | Nomicon: Fix Links | Pascal Hertleif | -8/+8 | |
| The style `[name][]` does not work with Pandoc, whereas `[name]` does. I hope hoedown accepts this as well. | ||||
| 2015-09-11 | std: Internalize almost all of `std::rt` | Alex Crichton | -14/+26 | |
| This commit does some refactoring to make almost all of the `std::rt` private. Specifically, the following items are no longer part of its API: * DEFAULT_ERROR_CODE * backtrace * unwind * args * at_exit * cleanup * heap (this is just alloc::heap) * min_stack * util The module is now tagged as `#[doc(hidden)]` as the only purpose it's serve is an entry point for the `panic!` macro via the `begin_unwind` and `begin_unwind_fmt` reexports. | ||||
| 2015-09-06 | Rustonomicon: Reword potentially confusing comment in Vec::drain. | Jørn Lode | -2/+2 | |
| 2015-09-06 | Rustonomicon: Fix bug in implementation of Vec::drain() | Jørn Lode | -11/+16 | |
| In the last code snippet on the following page there is a bug in the implementation of Vec::drain(). https://doc.rust-lang.org/nightly/nomicon/vec-drain.html ```rust pub fn drain(&mut self) -> Drain<T> { // Oops, setting it to 0 while we still need the old value! self.len = 0; unsafe { Drain { // len is used to create a &[T] from &self here, // so we end up always creating an empty slice. iter: RawValIter::new(&self), vec: PhantomData, } } } ``` A simple test to verify that Drain is broken can be found here: https://play.rust-lang.org/?gist=30f579565e4bbf4836ce&version=nightly And here's one with a fixed implementation: https://play.rust-lang.org/?gist=2ec0c1a6dcf5defd7a53&version=nightly | ||||
| 2015-09-01 | Reverse AtomicBool value in nomicon example to agree with its comment. | Jake Kerr | -4/+4 | |
| Makes the code agree with the comment: 'value answers "am I locked?"'. | ||||
| 2015-08-28 | Remove superfluous line from Nomicon | Andrew Paseltiner | -1/+0 | |
| 2015-08-22 | Rollup merge of #27921 - tshepang:missing-words, r=steveklabnik | Steve Klabnik | -1/+1 | |
| 2015-08-20 | nomicon: insert missing words | Tshepang Lekhonkhobe | -1/+1 | |
| 2015-08-20 | nomicon: use current syntax | Tshepang Lekhonkhobe | -1/+1 | |
| 2015-08-06 | Remove reference to diabetes | Steve Klabnik | -2/+1 | |
| 1. this isn't actually true about diabetes 2. people with diabetes will get *real sad* when reading this 3. it isn't actually necessary. | ||||
| 2015-08-06 | Auto merge of #27556 - taliesinb:tarpl-clarity-2, r=Gankro | bors | -22/+24 | |
| * Some clarifying rephrasing. * Rename B.x back to B.a. * Make null pointer optimization section bit more concrete. r? @Gankro | ||||
