about summary refs log tree commit diff
path: root/src/doc/guide.md
AgeCommit message (Collapse)AuthorLines
2015-01-16Grammar tweak to old guide stub documents.Tim Parenti-1/+1
Removes extra "the" from the phrase "the the Rust Programming Language book", which isn't particularly grammatical.
2015-01-09Add stub deprecation files for each of the old guides.Huon Wilson-0/+4
There are hundreds of stackoverflow answers, reddit posts and blog articles that link to these documents, so it's a nicer user experience if they're not plain 404s. The intention is to let these hang around only for relatively short while. The alpha is likely to bring in many new users and they will be reading the documents mentioned above.
2015-01-08"The Rust Programming Language"Steve Klabnik-5520/+0
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.
2015-01-07Test fixes and rebase conflictsAlex Crichton-6/+10
2015-01-07Merge pull request #20672 from vrana/patch-3bors-1/+1
Fix a typo in guide Reviewed-by: steveklabnik
2015-01-07Merge pull request #20670 from vrana/patch-2bors-1/+1
Fix type annotation in guide Reviewed-by: steveklabnik
2015-01-07Merge pull request #20669 from vrana/patch-1bors-1/+1
Use a better word in the guide Reviewed-by: steveklabnik
2015-01-06Fix a typo in guideJakub Vrána-1/+1
2015-01-06Bump some version numbersBrian Anderson-1/+1
2015-01-06Fix type annotation in guideJakub Vrána-1/+1
2015-01-06Use a better word in the guideJakub Vrána-1/+1
2015-01-05rollup merge of #20478: SeanTAllen/masterAlex Crichton-2/+2
Number of rustc calls would depending on various circumstances. Two is misleading.
2015-01-05unignore and fix doctests in guide and referenceJorge Aparicio-26/+26
2015-01-05ignore boxed closure doctests in the guide/referenceJorge Aparicio-10/+10
2015-01-04Merge pull request #20520 from nhowell/patch-1bors-3/+3
doc: Add missing `$`s in the Installing Rust guide Reviewed-by: steveklabnik, steveklabnik
2015-01-04Merge pull request #20495 from brson/cargobors-4/+5
Update guide for Cargo installation Reviewed-by: steveklabnik
2015-01-04Merge pull request #20487 from trapp/doc-namespace-typobors-1/+1
Fix typo in documentation. Reviewed-by: alexcrichton
2015-01-04Merge pull request #20428 from tbu-/pr_guide_int_to_i32_2nd_takebors-272/+270
Make all integers in the guide `i32`, implicitely Reviewed-by: steveklabnik
2015-01-04Merge pull request #19963 from tshepang/patch-3bors-1/+1
doc: mailing list is deprecated Reviewed-by: brson
2015-01-04doc: Add missing `$`s in the Installing Rust guideNick Howell-3/+3
2015-01-03Update guide for Cargo installationBrian Anderson-4/+5
2015-01-03Make all integers in the guide `i32`, implicitelyTobias Bucher-272/+270
The guide still needs to talk about integer suffixes.
2015-01-03Fix typo in documentation.Timon Rapp-1/+1
2015-01-03Minor documentation edit.Sean T Allen-1/+1
A tuple could be more made up of more than 2 values. Update guide to reflect.
2015-01-03Minor documentation edit.Sean T Allen-1/+1
Number of rustc calls would depending on various circumstances. Two is misleading.
2015-01-02rollup merge of #20227: FlashYoshi/patch-1Alex Crichton-1/+1
2015-01-02rollup merge of #19625: mrhota/guide_traitsAlex Crichton-122/+110
Nothing major. Clarification, copy-editing, typographical and grammatical consistency
2015-01-02rollup merge of #20315: alexcrichton/std-syncAlex Crichton-0/+1
Conflicts: src/libstd/rt/exclusive.rs src/libstd/sync/barrier.rs src/libstd/sys/unix/pipe.rs src/test/bench/shootout-binarytrees.rs src/test/bench/shootout-fannkuch-redux.rs
2015-01-02Properly deal with Ordering in the guideSteve Klabnik-34/+48
Now that it's been removed from the prelude, we need to treat things differently. Fixes #17967
2015-01-02std: Stabilize the prelude moduleAlex Crichton-80/+93
This commit is an implementation of [RFC 503][rfc] which is a stabilization story for the prelude. Most of the RFC was directly applied, removing reexports. Some reexports are kept around, however: * `range` remains until range syntax has landed to reduce churn. * `Path` and `GenericPath` remain until path reform lands. This is done to prevent many imports of `GenericPath` which will soon be removed. * All `io` traits remain until I/O reform lands so imports can be rewritten all at once to `std::io::prelude::*`. This is a breaking change because many prelude reexports have been removed, and the RFC can be consulted for the exact list of removed reexports, as well as to find the locations of where to import them. [rfc]: https://github.com/rust-lang/rfcs/blob/master/text/0503-prelude-stabilization.md [breaking-change] Closes #20068
2015-01-01std: Second pass stabilization of syncAlex Crichton-0/+1
This pass performs a second pass of stabilization through the `std::sync` module, avoiding modules/types that are being handled in other PRs (e.g. mutexes, rwlocks, condvars, and channels). The following items are now stable * `sync::atomic` * `sync::atomic::ATOMIC_BOOL_INIT` (was `INIT_ATOMIC_BOOL`) * `sync::atomic::ATOMIC_INT_INIT` (was `INIT_ATOMIC_INT`) * `sync::atomic::ATOMIC_UINT_INIT` (was `INIT_ATOMIC_UINT`) * `sync::Once` * `sync::ONCE_INIT` * `sync::Once::call_once` (was `doit`) * C == `pthread_once(..)` * Boost == `call_once(..)` * Windows == `InitOnceExecuteOnce` * `sync::Barrier` * `sync::Barrier::new` * `sync::Barrier::wait` (now returns a `bool`) * `sync::Semaphore::new` * `sync::Semaphore::acquire` * `sync::Semaphore::release` The following items remain unstable * `sync::SemaphoreGuard` * `sync::Semaphore::access` - it's unclear how this relates to the poisoning story of mutexes. * `sync::TaskPool` - the semantics of a failing task and whether a thread is re-attached to a thread pool are somewhat unclear, and the utility of this type in `sync` is question with respect to the jobs of other primitives. This type will likely become stable or move out of the standard library over time. * `sync::Future` - futures as-is have yet to be deeply re-evaluated with the recent core changes to Rust's synchronization story, and will likely become stable in the future but are unstable until that time comes. [breaking-change]
2015-01-02More falloutNick Cameron-1/+1
2015-01-02Fallout - change array syntax to use `;`Nick Cameron-3/+3
2014-12-30rollup merge of #20332: js-ojus/masterAlex Crichton-1/+1
In the context of explaining the declaration of mutable bindings, using 'intended' probably conveys the meaning better than 'cared'.
2014-12-30rollup merge of #20247: steveklabnik/gh20088Alex Crichton-3/+2
Fixes #20088
2014-12-30Minor change to wording in `Variables and Bindings`JONNALAGADDA Srinivas-1/+1
In the context of explaining the declaration of mutable bindings, using 'intended' probably conveys the meaning better than 'cared'.
2014-12-29rollup merge of #20275: inthecloud247/patch-1Alex Crichton-3/+8
Updating curl flag and instructions to follow better security practices used by other projects: https://github.com/saltstack/salt-bootstrap Other references: http://www.reddit.com/r/linux/comments/1s58my/please_stop_piping_curl1_to_sh1/ http://www.seancassidy.me/dont-pipe-to-your-shell.html https://news.ycombinator.com/item?id=8550511 http://output.chrissnell.com/post/69023793377/stop-piping-curl-1-to-sh-1 http://www.reddit.com/comments/1pqtcb
2014-12-29rollup merge of #20268: mdinger/prettyAlex Crichton-1/+1
For consistency with the documentation, *options* should be before *filenames*.
2014-12-29rollup merge of #20252: huonw/doc-no-ignoreAlex Crichton-3/+7
2014-12-29rollup merge of #20248: steveklabnik/gh20038Alex Crichton-31/+27
A part of #20038 This is just the beginning of what needs to be done, but it's some of it. /cc @aturon
2014-12-29rollup merge of #20210: tshepang/patch-5Alex Crichton-1/+1
2014-12-29Don't promise that we talk about Rustdoc moreSteve Klabnik-3/+2
Fixes #20088
2014-12-28update curl output flag.John Albietz-1/+1
from curl manpage: ``` -O, --remote-name Write output to a local file named like the remote file we get. (Only the file part of the remote file is used, the path is cut off.) ```
2014-12-28Update curl flag and add additional two-step installation instructions.John Albietz-3/+8
Updating curl flag and instructions to follow better security practices used by other projects: https://github.com/saltstack/salt-bootstrap Other references: http://www.reddit.com/r/linux/comments/1s58my/please_stop_piping_curl1_to_sh1/ http://www.seancassidy.me/dont-pipe-to-your-shell.html https://news.ycombinator.com/item?id=8550511 http://output.chrissnell.com/post/69023793377/stop-piping-curl-1-to-sh-1 http://www.reddit.com/comments/1pqtcb
2014-12-27`man rustc` and `rustc --help` say options go firstmdinger-1/+1
2014-12-27Remove some `ignore`s from the guide.Huon Wilson-3/+7
2014-12-26s/task/thread/gSteve Klabnik-31/+27
A part of #20038
2014-12-25Fixed a small typoTitouan Vervack-1/+1
2014-12-24doc: surround with symbols, like it shouldTshepang Lekhonkhobe-1/+1
2014-12-24Guide changes: Generics and Traits sectionsA.J. Gardner-122/+110
Mostly copy-editing, clarification---in particular, monomorphization