about summary refs log tree commit diff
path: root/src/doc/complement-design-faq.md
AgeCommit message (Collapse)AuthorLines
2015-12-23Remove the FAQs in favor of the websiteBrian Anderson-184/+1
2015-12-03Link to lazy_static crate in Design FAQMika Attila-4/+2
Replace the old link pointing to an out-of-date gist with a link to the lazy_static crate on crates.io. We also don't need to state the author, as the crates.io page shows the authors and owners.
2015-06-30Update complement-design-faq.mdChristian Weinz-1/+1
The ‘_‘ wildcard handles exactly not specific cases but all nut specified.
2015-05-27Remove mentions of int / uint from public documentationJake Goulding-1/+1
2015-05-16Auto merge of #25453 - jimblandy:FQA-fiasco-link, r=alexcrichtonbors-1/+1
Fix the link to the "static initialization order fiasco" discussion in the C++ Frequently Questioned Answers. At present the link points to a mail message summarizing the decision not to have resumable exceptions, but the FAQ means to refer to a discussion of the "static initialization order fiasco". I've made my best guess at what it meant to refer to.
2015-05-09Squeeze the last bits of `task`s in documentation in favor of `thread`Barosl Lee-1/+1
An automated script was run against the `.rs` and `.md` files, subsituting every occurrence of `task` with `thread`. In the `.rs` files, only the texts in the comment blocks were affected.
2015-05-06doc: Fix link of repr attributeらいどっと-1/+1
2015-04-28Fix link to C++ FQAJim Blandy-1/+1
Fix the link to the "static initialization order fiasco" discussion in the C++ Frequently Questioned Answers.
2015-04-18doc: improve/fix 'let' FAQTshepang Lekhonkhobe-4/+5
2015-04-16Fix broken links in the docsFlorian Hartwig-2/+2
2015-04-08Update "`let` is used to introduce variables" paragraphYork Xiang-6/+10
2015-03-09Add note about pre/post increment to the design FAQ.Steve Klabnik-0/+7
Fixes #14686
2014-11-15doc: small grammar fixAlfie John-1/+1
2014-10-29Rename fail! to panic!Steve Klabnik-2/+2
https://github.com/rust-lang/rfcs/pull/221 The current terminology of "task failure" often causes problems when writing or speaking about code. You often want to talk about the possibility of an operation that returns a Result "failing", but cannot because of the ambiguity with task failure. Instead, you have to speak of "the failing case" or "when the operation does not succeed" or other circumlocutions. Likewise, we use a "Failure" header in rustdoc to describe when operations may fail the task, but it would often be helpful to separate out a section describing the "Err-producing" case. We have been steadily moving away from task failure and toward Result as an error-handling mechanism, so we should optimize our terminology accordingly: Result-producing functions should be easy to describe. To update your code, rename any call to `fail!` to `panic!` instead. Assuming you have not created your own macro named `panic!`, this will work on UNIX based systems: grep -lZR 'fail!' . | xargs -0 -l sed -i -e 's/fail!/panic!/g' You can of course also do this by hand. [breaking-change]
2014-10-01Update some old references to rust.mdKeegan McAllister-1/+1
2014-10-01Use relative doc URLs in top-level guidesKeegan McAllister-4/+4
2014-08-20doc: grammar fixesTshepang Lekhonkhobe-1/+1
2014-08-07Rename `Share` to `Sync`Alex Crichton-5/+5
This leaves the `Share` trait at `std::kinds` via a `#[deprecated]` `pub use` statement, but the `NoShare` struct is no longer part of `std::kinds::marker` due to #12660 (the build cannot bootstrap otherwise). All code referencing the `Share` trait should now reference the `Sync` trait, and all code referencing the `NoShare` type should now reference the `NoSync` type. The functionality and meaning of this trait have not changed, only the naming. Closes #16281 [breaking-change]
2014-08-01doc: Make sure all doc titles say 'Rust'. #12466Brian Anderson-1/+1
2014-06-16Update repo locationBrian Anderson-1/+1
2014-06-16doc: Fix a link in the FAQAlex Crichton-4/+4
Closes #14914
2014-05-25doc: add a new language design faqCorey Richardson-0/+176
This indends to help quell frequently answered questions about the language design in a single, authoritative place.