about summary refs log tree commit diff
path: root/doc
AgeCommit message (Collapse)AuthorLines
2013-01-29Add expected failure annotation on "fixed" example to placate 'make check'.Felix S. Klock II-1/+1
2013-01-29Formatting cleanup.Felix S. Klock II-1/+0
I had put a line break in to try to stress the binding of mycircle, but generated document looks cleaner without newline.
2013-01-29Fixed two examples of erroneous code so their errors match expectation.Felix S. Klock II-2/+4
1. In the first case, the previous code was failing during type inference due to mismatched structure. Fix is to use the X structure at both points in the code. 2. In the second case, a naive transcription that subsitutes *nothing* in for the omitted statements signified by "..." will actually compile without an error. Furthermore, any pure code could also be substituted for the ellipsis and the code would compile (as the text already states). So to make the example more illustrative, it would be better to include an impure callback, which makes the potential for aliasing immediately obvious to the reader.
2013-01-29Fix two code examples in main rust tutorial.Felix S. Klock II-5/+10
1. The section on trait definitions of static methods should include a trait with a static method in the generated document. 2. The section on trait inheritance had a expression that appears nonsensical ("let mycircle = @mycircle") in the generated document. The text would be clearer (IMO) if we continued with the running example of CircleStruct.
2013-01-25doc typoJohn Clements-1/+1
2013-01-24Merge pull request #4609 from sonwow/keyword-superTim Chevalier-1/+1
Make `super` a keyword
2013-01-23doc: fix tutorial unsafe blocks, r=burningtree.Graydon Hoare-12/+17
2013-01-24Make `super` a keywordYoungsoo Son-1/+1
2013-01-23Merge pull request #4589 from sanxiyn/doc-vec-matchTim Chevalier-0/+12
doc: Document pattern matching on vectors
2013-01-23doc: Document pattern matching on vectorsSeo Sanghyeon-0/+12
2013-01-23doc: Document mutable function argumentsSeo Sanghyeon-0/+5
2013-01-21Merge pull request #4562 from lbonn/loglevelTim Chevalier-4/+4
doc: fix log level ids
2013-01-21Revert "doc: Fix tutorial-ffi xfail-tests and update SHA1() to use size_t"Tim Chevalier-24/+16
This reverts commit 50c8cbb25aeb9d8132ac06914e9978d3cddb7f42.
2013-01-20doc: Fix tutorial-ffi xfail-tests and update SHA1() to use size_tChris Peterson-16/+24
2013-01-20doc: Fix tutorial typo and remove unnecessary xfail-testChris Peterson-2/+2
2013-01-20doc: Fix manual's link attributes example codeChris Peterson-5/+5
2013-01-21doc: fix log level idsLaurent Bonnans-4/+4
2013-01-16Merge pull request #4440 from pcwalton/tutorialPatrick Walton-9/+51
doc: Fold information from the memory model interlude in the tutorial elsewhere
2013-01-12doc: Fix spelling error in macro tutorialPeter Williams-1/+1
2013-01-10doc: Fold information from the memory model interlude in the tutorial elsewherePatrick Walton-9/+51
2013-01-10corrected imprecision in description of mutable fieldsJohn Clements-2/+8
2013-01-10tutorial: Remove memory model sectionBrian Anderson-70/+0
2013-01-08librustc: Make unqualified identifier searches terminate at the nearest ↵Patrick Walton-5/+5
module scope. r=tjc
2013-01-08Revert "librustc: Make unqualified identifier searches terminate at the ↵Patrick Walton-5/+5
nearest module scope. r=tjc" This reverts commit a8d37af2473da79be704c9ce2374f278c47177b6.
2013-01-08librustc: Make unqualified identifier searches terminate at the nearest ↵Patrick Walton-5/+5
module scope. r=tjc
2013-01-04Merge remote-tracking branch 'superoptimizer/master' into HEADBrian Anderson-1/+1
Conflicts: doc/tutorial.md
2013-01-03Fix two minor issues in the tutorial.Mark Lacey-2/+2
Remove an extraneous 'then', and replace 'second' with 'first'.
2012-12-31doc: Fix some typos in the tutorial and reference manualChris Peterson-6/+6
2012-12-30Merge pull request #4311 from FranklinChen/fix-macro-tutorialTim Chevalier-2/+2
Remove semicolons at the end of macro_rules! definitions that cause compile failure
2012-12-30doc: make small corrections to tutorialAndrew Paseltiner-81/+83
2012-12-30doc: Fix explanation and example of struct-like enum variants. rs=bustedPatrick Walton-6/+6
2012-12-29doc: Fix some broken tutorial examples. rs=bustagePatrick Walton-0/+2
2012-12-29Remove spurious semicolons at the end of macro_rules! definitions.Franklin Chen-2/+2
2012-12-24Unfortunately, we can't embed cross-crate tests in the tutorial...Tim Chevalier-1/+1
...as far as I know, anyway, so I xfailed this tutorial test.
2012-12-24Fix example.Eric J. Holmes-2/+2
2012-12-24Fix example.Eric J. Holmes-3/+3
2012-12-24bump 0.5 => 0.6, redirect some URLs in docs.Graydon Hoare-3/+3
2012-12-24doc: mention struct-like enum variants /cc #4217Tim Chevalier-0/+31
2012-12-24Unfortunately, we can't embed cross-crate tests in the tutorial...Tim Chevalier-1/+1
...as far as I know, anyway, so I xfailed this tutorial test.
2012-12-23Merge pull request #4249 from graydon/0.6-bumpTim Chevalier-3/+3
bump 0.5 => 0.6, redirect some URLs in docs.
2012-12-23Merge pull request #4272 from ejholmes/crates-minimal-exampleTim Chevalier-2/+2
Fix example in 13.3.
2012-12-23Fix example.Eric J. Holmes-2/+2
2012-12-23Fix example.Eric J. Holmes-3/+3
2012-12-21bump 0.5 => 0.6, redirect some URLs in docs.Graydon Hoare-3/+3
2012-12-20doc: Mention argument bindings in manual release-0.5 0.5Brian Anderson-0/+7
2012-12-20tutorial: Discuss argument patternsBrian Anderson-0/+24
2012-12-20tutorial: Clarify description of trait inheritanceBrian Anderson-3/+5
2012-12-20tutorial: Fix broken examplesBrian Anderson-2/+2
2012-12-20tutorial: Re-remove core:: prefix from some examplesBrian Anderson-4/+4
2012-12-20tutorial: TypoBrian Anderson-1/+1