summary refs log tree commit diff
path: root/src/doc/trpl/method-syntax.md
AgeCommit message (Collapse)AuthorLines
2015-05-13Backport TRPL, reference, and grammar.Steve Klabnik-44/+44
Rather than port each individual change to these files, for the release, I just waited to do it all at the end, in this commit. Since individual comits made it to master, everyone should get proper credit in the main tree, and AUTHORS includes those whose changes are here.
2015-04-11book: 'x' is already taken, so use something elseTshepang Lekhonkhobe-4/+4
2015-04-03Fixing copy/paste typo.Alex Quach-1/+1
2015-03-31book: make Builder Pattern example more completeTshepang Lekhonkhobe-8/+16
2015-03-30book: improve a bit of grammar in Method Syntax chapeterTshepang Lekhonkhobe-3/+3
2015-03-28Rollup merge of #23788 - steveklabnik:gh23748, r=alexcrichtonManish Goregaokar-1/+2
Fixes #23748
2015-03-28Rollup merge of #23751 - tshepang:do-not-hardcode-the-growth, r=ManishearthManish Goregaokar-4/+4
I found the arbitrary `10` surprising. A better method name, in such a case, would be `grow_by_10` :)
2015-03-27Explain why &self is commonSteve Klabnik-1/+2
Fixes #23748
2015-03-26book: let grow() accept the growth parameterTshepang Lekhonkhobe-4/+4
2015-03-26book: make it one sentenceTshepang Lekhonkhobe-1/+1
2015-03-23Add #![feature] attributes to doctestsBrian Anderson-0/+3
2015-03-15Strip trailing whitespaceTamir Duberstein-3/+3
2015-03-14Fix indentation in the "Method Syntax" chapterEduardo Bautista-4/+4
2015-03-09Fix doctest (fixup #23188)Manish Goregaokar-0/+1
2015-03-08Add examples of all three syntaxes in method syntax chapter of trplSteve Klabnik-1/+22
Fixes #18787
2015-02-14Minor change in 'method-syntax' chaptercaipre-2/+2
2015-01-23Soup up 'method syntax' chapter of the BookSteve Klabnik-2/+112
Fixes #16969
2015-01-08Standardize punctuation & formatting of TRPLKevin Yap-4/+4
This commit is an attempt to standardize the use of punctuation and formatting in "The Rust Programming Language" as discussed in #19823. - Convert bold text to italicized textcwhen referring to terminology. - Convert single-quoted text to italicized or double-quoted text, depending on context. - Use double quotes only in the case of scare quotes or quotations.
2015-01-08Fix dead links in the guide and reorganizeAlex Crichton-0/+88