Fix a typo and update some code samples #628

Merged
merged 2 commits into from Aug 7, 2015

Projects

None yet

3 participants

@chriskrycho
Contributor
  • Typo: add an apostrophe to a possessive that was missing it.
  • Code samples: switch from playpen to built-in sample type in all the file I/O examples, since their being editable is at best irrelevant and at worst confusing. Update the verbiage around them accordingly, no longer referencing the inability to run the samples in the playpen.

I took this route on these code samples to bring it in line with the FFI examples, which likewise do not use the playpen.

chriskrycho added some commits Aug 6, 2015
@chriskrycho chriskrycho generics: Fix typo (possessive missing apostrophe). 8b136c8
@chriskrycho chriskrycho std_misc/file: Use samples, not playpens, for I/O examples.
Since the file samples aren't runnable, making them editable is not
particularly useful. Moreover, until #73 is closed, it will also make
those pages much easier to read in the sepia and night reading modes.
9d42d6b
@rust-highfive

r? @steveklabnik

(rust_highfive has picked a reviewer for you, use r? to override)

@steveklabnik steveklabnik merged commit 24a8467 into rust-lang:master Aug 7, 2015

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
@steveklabnik
Contributor

Thanks!

@chriskrycho chriskrycho deleted the unknown repository branch Aug 8, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment