Commit Graph
490 Commits
Author SHA1 Message Date
Steve Klabnik bd18fff64e don't put my dir in output names 2016-09-14 13:58:40 -04:00
Steve Klabnik 0b7bb54df4 some more small things 2016-09-14 13:58:40 -04:00
Steve Klabnik ad0fcf33a5 It's not always possible to handle this at compile time 2016-09-14 13:58:40 -04:00
Steve Klabnik 3634c81fc7 address some feedback 2016-09-14 13:58:40 -04:00
Steve Klabnik 730fb1f82f Move explanation up as per @aturon 2016-09-14 13:58:40 -04:00
Steve Klabnik 80c97251b8 remove second backtrace 2016-09-14 13:58:40 -04:00
Steve Klabnik e35e0e1039 Remove 'creating your own error types'
this should end up later in the book, someday
2016-09-14 13:58:40 -04:00
Steve Klabnik e7b5943c35 error handling take two 2016-09-14 13:58:40 -04:00
Steve Klabnik 4723782107 move towards vectors 2016-09-14 13:58:40 -04:00
Steve Klabnik a28453e404 start of error handling 2016-09-14 13:58:40 -04:00
Carol (Nichols || Goulding) c56e402882 Small wording changes; be more precise 2016-09-09 11:32:40 -04:00
Carol (Nichols || Goulding) 620df613cc Prefer 'we' not 'you' 2016-09-09 11:32:40 -04:00
Carol (Nichols || Goulding) b75e813841 Whitespace/wordwrap fixes 2016-09-09 11:32:40 -04:00
Carol (Nichols || Goulding) 37d5d555f8 Label all code with a filename 2016-09-09 11:32:40 -04:00
Carol (Nichols || Goulding) 9e81b8c9b5 Title case section headings 2016-09-09 11:32:40 -04:00
Carol (Nichols || Goulding) e4ddcabf6f Fix merging of figures 2016-09-08 18:12:10 -04:00
Carol (Nichols || Goulding) d26cdc7508 Addressing steve nits 2016-09-08 18:08:47 -04:00
Carol (Nichols || Goulding) 701855e165 Make edits to ownership/borrowing/slices suggested by nostarch 2016-09-08 18:08:47 -04:00
Carol (Nichols || Goulding) 60d445df5c Discuss the stack and the heap so we can explain ownership with them 2016-09-08 18:07:17 -04:00
Carol (Nichols || Goulding) 591e8a0aea Add images that only had placeholders 2016-09-06 21:08:54 -04:00
Carol (Nichols || Goulding) 8029bdb072 Switch to SVG instead of png 2016-09-06 18:16:57 -04:00
Carol (Nichols || Goulding) ed557992cb Rename images to be in nostarch's convention
And switch images 3 and 4, they appear in the opposite order
2016-09-06 17:39:56 -04:00
Carol (Nichols || Goulding) 6d617aba2a Change to not have parens in function names in prose
Unless we're quoting a line of code that actually does call the
function. But when we're talking about the definition, don't include the
parens.
2016-09-06 17:29:10 -04:00
Josh 898024a907 Update ch02-00-guessing-game-tutorial.md
Code section was not properly ended. Fixed that section so it ends the code block.
2016-09-06 10:35:33 -07:00
Jonathan Turner 58da122888 Some wording and error updates 2016-09-02 16:51:27 -07:00
Bruce Adams cc675f264a Enhance Windows examples
Most importantly, `#` does not introduce a comment in Windows CMD.
Also, switch the Windows code blocks to `cmd` instead of `bash`
and change the prompt to a more Windows typical `>`.
2016-08-31 19:54:50 -04:00
Carol (Nichols || Goulding) 33943ea70c Don't leave the reader hanging wondering about use statements
And what they're relative to, if not the current module.

Fixes #239.
2016-08-30 12:49:43 -04:00
Carol (Nichols || Goulding) cf3f9e13f1 Rename the project from "modules" to "communicator"
To make "modules" have fewer meanings.

Fixes #241.
2016-08-30 12:47:03 -04:00
Carol (Nichols || Goulding) a09f376ca4 Clarify what the two problems modules solve are
Fixes #240.
2016-08-30 12:34:02 -04:00
Carol (Nichols || Goulding) 29c74cc4df Stay with "you" for the module intro
Fixes #238.
2016-08-30 12:30:10 -04:00
Carol (Nichols || Goulding) bffe7c1ec7 Merge pull request #233 from spastorino/fix_guess_typo
Fix guses -> guess typo
2016-08-30 12:21:30 -04:00
Carol (Nichols || Goulding) 8dadac47f6 Small changes from nostarch before going to copyedit 2016-08-30 00:51:19 -04:00
Steve Klabnik c9e0652355 these arrows are off-by-one 2016-08-29 12:14:41 -04:00
Steve Klabnik b005095847 these should be single quotes 2016-08-29 12:14:15 -04:00
Steve Klabnik 94088e170f re-write intro 2016-08-29 12:13:53 -04:00
Santiago Pastorino a226f08460 Fix guses -> guess typo 2016-08-27 17:38:23 -03:00
Carol (Nichols || Goulding) 93f185a150 Remove naming conflict example since it should be rarer soon! 2016-08-26 17:43:01 -07:00
Carol (Nichols || Goulding) 9090d03050 Bump subchapter headings in a level 2016-08-26 17:41:35 -07:00
Carol (Nichols || Goulding) db52e35bf9 Zero-index the filenames 2016-08-26 17:41:35 -07:00
Carol (Nichols || Goulding) 555023fc28 Give the modules chapter a bit of a summary conclusion 2016-08-26 17:41:35 -07:00
Carol (Nichols || Goulding) 83637d68c8 Fix mistakes I made with modules... I've confused myself 2016-08-26 17:41:35 -07:00
Carol (Nichols || Goulding) c9e0a9aafe Add illustrative examples for the privacy rules 2016-08-26 17:41:35 -07:00
Carol (Nichols || Goulding) 34dbf2e865 Word the privacy rules consistently 2016-08-26 17:41:35 -07:00
Carol (Nichols || Goulding) 8c46ff3cd8 This comma looked funny just now 2016-08-26 17:41:35 -07:00
Carol (Nichols || Goulding) d63d88ddeb Actually, this bit about tests needs to go after intro of use 2016-08-26 17:41:35 -07:00
Carol (Nichols || Goulding) afc4bc2541 Move summary of file/module changes to end of part 2 2016-08-26 17:41:35 -07:00
Carol (Nichols || Goulding) 7ad920f34a Elide some warnings when we want to concentrate on the errors 2016-08-26 17:41:35 -07:00
Carol (Nichols || Goulding) d532801172 Reword some things on another reading 2016-08-26 17:41:35 -07:00
Carol (Nichols || Goulding) 0705ea8eff Work through adding pub because of warnings in a different way
I felt like the previous version was a bit vague and left the impression
that dead code warnings should be fixed by adding `pub` everywhere. What
I think it was *trying* to say was that because we WANT these functions
to be public for external folks to use, THAT'S why we're getting the
warnings and why pub is the fix for it.
2016-08-26 17:41:35 -07:00
Carol (Nichols || Goulding) 4835474c82 Oops, this comment needs to be a rust comment 2016-08-26 17:41:35 -07:00