Commit Graph

260 Commits (9bd87c10a238a22f40693431fa5469c512b1880f)
 

Author SHA1 Message Date
Bastien Dejean dcb58dbda1 Add missing inline code delimiters around Vec<T>
8 years ago
Andrew Brinker f3cdced83a Fixed based on feedback from steveklabnik
8 years ago
Andrew Brinker bab35d7cdc Rewrote "How Safe and Unsafe Interact" Nomicon chapter.
8 years ago
Oliver Middleton 43185c0b2e Fix a few links in the book
8 years ago
Brian Green 26e938ce1b doc: Fix tiny typo in vec-alloc.md
8 years ago
c4rlo 712ba3c8ec subtyping.md: typo fix
8 years ago
Ariel Ben-Yehuda 99a8183fdb improve error message
8 years ago
Ariel Ben-Yehuda e2862658d2 suggest adding a where-clause when that can help
8 years ago
Matt Brubeck a35ea15442 Update Rust version in the Rustonomicon Vec chapter
8 years ago
Florian Hahn 44b7a53b97 Capitalize some occurences of Rust in documentation
8 years ago
Ulrik Sverdrup a29e5a7589 Fix spacing style of `T: Bound` in docs
8 years ago
Jonas Tepe 6a7e5b5b04 Fixed indent from tabs to spaces
8 years ago
Jonas Tepe c7fff43d50 added zst iterator additions to final code
8 years ago
Jonas Tepe 7529d7b852 Semicolon was at wrong place in let statement
8 years ago
jonastepe 20ac46402c len needs to be prefixed by self for this to work. The final code in this section of the book is correct.
8 years ago
jonastepe 5060b9c061 heap::deallocate expects a *mut u8 but here a *mut T is given. The final code is correct, the example here would not compile without the cast. I used *mut _ instead of *mut u8 to be consistent with the final code.
8 years ago
Steve Wooster ae44e86c13 Change "big ask" to "tall order" in Rustonomicon.
8 years ago
Ulrik Sverdrup ef1cd4dd45 nomicon: Mention contravariance
8 years ago
Ulrik Sverdrup 9a11f6e3ff nomicon: Fix variance in example
8 years ago
Steve Klabnik 31e414c51a Remove nomicon reference to copy_lifetime
8 years ago
Steve Klabnik 8dc4b7608d Nomicon: mention tuple structs with repr(c)
8 years ago
Jake Worth 9bfb59ca83 Fix typo
8 years ago
Alexis Beingessner 799b247059 don't use drop_in_place as an intrinsic
8 years ago
Scott Olson 150a6b4a85 Add missing "to" in Rustonomicon Atomics.
8 years ago
Alex Burka 11bbe8cd1a fix markdown in nomicon/dropck
8 years ago
Scott Olson eab1e095c6 Fix minor syntax error in example.
8 years ago
Andrew Paseltiner b7627fc68d Correct spelling in docs
8 years ago
DenisKolodin 25daea46ac Update explanation about offset method
8 years ago
Andrew Paseltiner 703285826a Correct spelling in docs
8 years ago
Kyle Robinson Young d264bf6b3b doc: fixing typos
8 years ago
Felix S. Klock II a8362b6890 review comment: point out that the dropck analysis is now trivial.
8 years ago
Felix S. Klock II c2c76b3366 Document the new more conservative dropck rule and the escape hatch.
8 years ago
Carlos Liam 30ae4bc89b Replace multiple trailing newlines with a single trailing newline
8 years ago
Ms2ger 0e784eb884 Fix some typos.
8 years ago
Simon Mazur 3e25f93084 docs: anchors fixes
8 years ago
Pascal Hertleif 83ce66888e Nomicon: Fix Links
8 years ago
Alex Crichton 4c56ec91c3 std: Internalize almost all of `std::rt`
8 years ago
Jørn Lode a0b4fdad02 Rustonomicon: Reword potentially confusing comment in Vec::drain.
8 years ago
Jørn Lode 2574990a3f Rustonomicon: Fix bug in implementation of Vec::drain()
8 years ago
Jake Kerr 00fdb72cc8 Reverse AtomicBool value in nomicon example to agree with its comment.
8 years ago
Andrew Paseltiner 649ba39bc4 Remove superfluous line from Nomicon
8 years ago
Tshepang Lekhonkhobe 4b1781c350 nomicon: insert missing words
8 years ago
Tshepang Lekhonkhobe 80604b471d nomicon: use current syntax
8 years ago
Steve Klabnik 5dfcb738b1 Remove reference to diabetes
8 years ago
Taliesin Beynon 2bea608ff4 Some rerp-rust improvements.
8 years ago
Jeehoon Kang d787bec7d5 Revise TARPL's description for allocating 0 bytes
8 years ago
Ivan Jager 399efd4cdc Fix some grammar in The Advanced Rust Programming Language
8 years ago
Alexis Beingessner f6e739a54c Fix variance ordering
8 years ago
Alexis Beingessner 5dea771dbb rename TARPL to The Rustinomicon
8 years ago
Oliver Schneider 99e464326c fix code and error to match the surronding text
8 years ago