about summary refs log tree commit diff
path: root/src/doc/trpl
AgeCommit message (Collapse)AuthorLines
2015-09-10Adapted @BurtSushi's blog post for the error handling chapter, rewrite the ↵christopherdumas-181/+2007
case study.
2015-09-10Auto merge of #28266 - jackwilsonv:patch-4, r=steveklabnikbors-3/+3
r? @steveklabnik
2015-09-10Auto merge of #28232 - brson:tprl, r=steveklabnikbors-7/+14
r? @steveklabnik The phrase 'academic research' rubs me the wrong way. I have some concern about the role of this page and think it could be expanded to more than just academic papers and cleaned up a lot.
2015-09-09Auto merge of #28250 - durka:patch-7, r=steveklabnikbors-0/+52
I took a stab at fixing #28064. Not sure if this all-features-in-one-example approach is the right one. Also I completely made up the terms "star globbing" and "brace expansion globbing" -- they are just called "glob-like syntax" in the reference.
2015-09-09Auto merge of #28313 - rutsky:patch-4, r=alexcrichtonbors-1/+1
Follow-up fix for PR #28283.
2015-09-09Rollup merge of #28295 - steveklabnik:language_fix, r=alexcrichtonManish Goregaokar-2/+2
Thanks Eric, reported via email
2015-09-09Rollup merge of #28294 - midinastasurazz:patch-3, r=steveklabnikManish Goregaokar-1/+1
The link address is defined below the paragraph so no need to have it inline.
2015-09-09Rollup merge of #28283 - rutsky:patch-3, r=steveklabnikManish Goregaokar-1/+1
r? @steveklabnik
2015-09-09Rollup merge of #28281 - rutsky:patch-2, r=steveklabnikManish Goregaokar-4/+4
r? @steveklabnik
2015-09-09fix capitalization inside sentenseVladimir Rutsky-1/+1
2015-09-08Fix small sentence about referencesSteve Klabnik-2/+2
Thanks Eric, reported via email
2015-09-08Fix link to hygienic macros on Wikipediamidinastasurazz-1/+1
2015-09-07fix punctuation in list (again)Vladimir Rutsky-2/+2
2015-09-07fix capitalization inside sentenseVladimir Rutsky-1/+1
2015-09-07fix punctuation in listVladimir Rutsky-2/+2
r? @steveklabnik
2015-09-06Small syntax and formatting changesJack Wilson-3/+3
2015-09-06Fix a typoHunan Rostomyan-2/+2
2015-09-05Small formatting/syntax tweaksJack Wilson-3/+3
2015-09-06Auto merge of #28259 - christopherdumas:fix_empty_link, r=Manishearthbors-1/+1
2015-09-05mention dash-to-underscore behaviorAlex Burka-0/+4
2015-09-05Added link for hygenic macro system in macros.mdchristopherdumas-1/+1
2015-09-05Rollup merge of #28225 - jackwilsonv:patch-3, r=steveklabnikManish Goregaokar-8/+8
r? @steveklabnik
2015-09-05document advance `extern crate`/`use` syntaxAlex Burka-0/+48
I took a stab at fixing #28064. Not sure if this all-features-in-one-example approach is the right one. Also I completely made up the terms "star globbing" and "brace expansion globbing" -- they are just called "glob-like syntax" in the reference.
2015-09-04trpl: Rename 'academic research' to 'bibliography'. Add some new links.Brian Anderson-7/+14
2015-09-03Capitalize circle referenceJack Wilson-1/+1
2015-09-03Fixes minor formatting inconsistenciesJack Wilson-8/+8
2015-09-03Rollup merge of #28214 - tshepang:word-not-name, r=steveklabnikSteve Klabnik-1/+1
Also, add missing comma
2015-09-03Rollup merge of #28213 - tshepang:replace-comma, r=steveklabnikSteve Klabnik-1/+1
2015-09-03Rollup merge of #28212 - tshepang:rust-is-a-language, r=steveklabnikSteve Klabnik-1/+1
2015-09-03Rollup merge of #28210 - tshepang:typo, r=steveklabnikSteve Klabnik-1/+1
2015-09-03Rollup merge of #28207 - tshepang:flow, r=steveklabnikSteve Klabnik-4/+4
2015-09-03Rollup merge of #28203 - benschulz:book-deref-coercion, r=brsonSteve Klabnik-5/+5
I have two issues with the section "Deref and method calls" of the book's chapter "Deref coercions". - (Minor) It says "In other words, these are the same two things in Rust:", followed by a code block in which no two things seem similar, much less the same. Presumably this sentence made more sense in a previous revision. - The next paragraph conflates two concepts which, imho, should kept separate. They are - deref coercion, i.e. inserting as many `*` as necessary and - implicitly referencing the receiver, i.e. inserting a single `&` to satisfy the method's `self` parameter type. I appreciate that with the proposed changes the example becomes very contrived, even for a foo-bar-baz one. However, the current exmplanation is just wrong.
2015-09-03book: it is RwLock, not RWLockTshepang Lekhonkhobe-2/+2
2015-09-04Rollup merge of #28186 - ↵Manish Goregaokar-0/+11
thomas07vt:thomas07vt-patch-trpl-rust-inside-other-languages.md, r=steveklabnik The embed rust file that we compile prints out 'Thread finished..' messages along with a 'done!' r? @steveklabnik
2015-09-04Rollup merge of #28184 - xiaochuanyu:patch-1, r=alexcrichtonManish Goregaokar-1/+1
Originally in an example it reads as follows: ```rust fn inverse<T>() -> T // this is using ConvertTo as if it were "ConvertFrom<i32>" where i32: ConvertTo<T> { 42.convert() } ``` There was no mention of `ConvertFrom` elsewhere in the page other than in this comment. Is this supposed to be `ConvertTo<i64>` ? I'm confused by this example.
2015-09-03book: improve flowTshepang Lekhonkhobe-4/+4
2015-09-03book: Rust is a language, so no need to mention that fact hereTshepang Lekhonkhobe-2/+2
2015-09-03Take method invocation semantics out of chapter on deref coercion.benshu-5/+5
2015-09-03book: "word" feels more suitable than "name"Tshepang Lekhonkhobe-1/+1
Also, add missing comma
2015-09-03book: replace comma with a more suitable characterTshepang Lekhonkhobe-1/+1
2015-09-03book: improve paragraph on stack de-allocationTshepang Lekhonkhobe-2/+2
2015-09-02Bash output fix to match real 'ruby embed.rb' callJohn Thomas-0/+11
The embed rust file that we compile prints out 'Thread finished..' messages along with a 'done!'
2015-09-03Fix mistake in trait.mdXiao Chuan Yu-1/+1
2015-09-02Makes formatting of struct keyword consistentJack Wilson-11/+11
2015-09-02Auto merge of #28135 - jackwilsonv:patch-1, r=steveklabnikbors-1/+1
Small formatting change r? @steveklabnik
2015-09-02Auto merge of #28155 - vchimishuk:doc-rust-inside-other-languages-tab, ↵bors-1/+1
r=alexcrichton Fixed x variable identation. How it was displayed in Firefox before: http://s16.postimg.org/c9448tn0k/Screenshot_from_2015_09_01_17_35_43.jpg
2015-09-01Source code style fixed: tab replaced with whitespaces.Viacheslav Chimishuk-1/+1
2015-08-31Makes formatting of i32 consistentJack Wilson-1/+1
2015-08-31Fix typoAlexDenisov-1/+1
2015-08-29Auto merge of #28070 - mdchoate:patch-1, r=alexcrichtonbors-1/+1