about summary refs log tree commit diff
path: root/src/rustbook/error.rs
AgeCommit message (Collapse)AuthorLines
2016-03-08rustbuild: Move rustbook to a `src/tools` directoryAlex Crichton-36/+0
We've actually got quite a few tools that are compiled as part of our build, let's start housing them all in a `tools` directory.
2015-03-23Stabilize the Error traitAaron Turon-0/+1
This small commit stabilizes the `Error` trait as-is, except that `Send` and `Debug` are added as constraints. The `Send` constraint is because most uses of `Error` will be for trait objects, and by default we would like these objects to be transferrable between threads. The `Debug` constraint is to ensure that e.g. `Box<Error>` is `Debug`, and because types that implement `Display` should certainly implement `Debug` in any case. In the near future we expect to add `Any`-like downcasting features to `Error`, but this is waiting on some additional mechanisms (`Reflect`). It will be added before 1.0 via default methods. [breaking-change]
2015-03-04std: Deprecate std::old_io::fsAlex Crichton-58/+10
This commit deprecates the majority of std::old_io::fs in favor of std::fs and its new functionality. Some functions remain non-deprecated but are now behind a feature gate called `old_fs`. These functions will be deprecated once suitable replacements have been implemented. The compiler has been migrated to new `std::fs` and `std::path` APIs where appropriate as part of this change.
2015-02-18Replace all uses of `&foo[]` with `&foo[..]` en masse.Niko Matsakis-2/+2
2015-01-29s/Show/Debug/gJorge Aparicio-2/+2
2015-01-26Fallout of io => old_ioAlex Crichton-1/+1
2015-01-09Handle errors properly in rustbook.Huon Wilson-0/+1
Silently ignoring errors is :( so lets not silently ignore them. huon is :) now.
2015-01-08Fix dead links in the guide and reorganizeAlex Crichton-0/+6
2015-01-08"The Rust Programming Language"Steve Klabnik-0/+76
This pulls all of our long-form documentation into a single document, nicknamed "the book" and formally titled "The Rust Programming Language." A few things motivated this change: * People knew of The Guide, but not the individual Guides. This merges them together, helping discoverability. * You can get all of Rust's longform documentation in one place, which is nice. * We now have rustbook in-tree, which can generate this kind of documentation. While its style is basic, the general idea is much better: a table of contents on the left-hand side. * Rather than a almost 10,000-line guide.md, there are now smaller files per section.