about summary refs log tree commit diff
path: root/src/doc/complement-design-faq.md
AgeCommit message (Collapse)AuthorLines
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.