| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 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 | |
| 2015-09-11 | std: Internalize almost all of `std::rt` | Alex Crichton | -5/+4 | |
| 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 | -1/+1 | |
| 2015-09-06 | Rustonomicon: Fix bug in implementation of Vec::drain() | Jørn Lode | -5/+8 | |
| 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-08-03 | rename TARPL to The Rustinomicon | Alexis Beingessner | -0/+311 | |
