about summary refs log tree commit diff
path: root/src/doc/trpl/pointers.md
AgeCommit message (Collapse)AuthorLines
2015-04-07New TOCSteve Klabnik-699/+0
2015-04-01Moved use of `box_syntax` unstable feature in docs to Unstable section.Trent Nadeau-84/+2
Create a new section under the Unstable section for `box` syntax and patterns and removed their discussion from the Pointers section.
2015-03-24Update pointers.mdCamille Roussel-2/+2
2015-03-23Don't conflate regions and affine typesSteve Klabnik-6/+3
Fixes #23642
2015-03-20Rollup merge of #23447 - kjpgit:kjp/pointerexample, r=steveklabnikManish Goregaokar-13/+15
These two borrowing examples were confusing/misleading. This changes it to more clearly show how you _can_ borrow a box, and also uses & instead of &*.
2015-03-17book: improve pointer box borrowing exampleskjpgit-13/+15
These two borrowing examples were confusing/misleading. This changes it to more clearly show how you _can_ borrow a box, and also uses & instead of &*.
2015-03-08remove 'generally' to reduce confusionSteve Klabnik-2/+2
Fixes #22610
2015-03-03Fix doc example to accommodate overloaded-box.Felix S. Klock II-1/+1
2015-02-24Rollup merge of #22473 - leejunseok:fix_pointer_example, r=steveklabnikManish Goregaokar-13/+14
Revised an example in the Pointers chapter of TRPL (the guide) as per #21575.
2015-02-18revised pointer exampleJunseok Lee-13/+14
2015-02-13Reintroduce box syntax where neededSteve Klabnik-2/+7
Otherwise, this line is a lie.
2015-01-29s/Show/Debug/gJorge Aparicio-1/+1
2015-01-18quick formatting fixMatt Roche-5/+1
2015-01-18Error message fixes and removed explicit returns in example codeMatt Roche-4/+8
2015-01-17doc: Remove extra whitespace in the middle of lines to provide alignmentNick Howell-1/+1
"Idiomatic code should not use extra whitespace in the middle of a line to provide alignment." http://aturon.github.io/style/whitespace.html I realize the linked page still needs an RFC, but the docs should be written in accordance with the guidelines nevertheless.
2015-01-17Fix up titles of TRPL chaptersSteve Klabnik-1/+1
2015-01-17Intpocalypse, book edition.Steve Klabnik-51/+53
Fix all usage of int/uint/i/u in the book.
2015-01-15rollup merge of #21105: csouth3/kill-box-importAlex Crichton-10/+0
Closes #21093. r? @steveklabnik cc @alexcrichton I tested with `make check-docs` and this passes that. Hope that was enough.
2015-01-13Remove unneeded box import in examplesChase Southwood-10/+0
2015-01-12Improve clarity of paragraph in the pointer guideSteve Klabnik-5/+4
Fixes #19067
2015-01-08Standardize punctuation & formatting of TRPLKevin Yap-16/+16
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/+785