f6b3f2adb9 
								
							
								 
							
						 
						
							
							
								
								Fix outstanding comments from the Rust devs.  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								09274f379d 
								
							
								 
							
						 
						
							
							
								
								Small fixes.  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								37fe162af1 
								
							
								 
							
						 
						
							
							
								
								Drop parentheses when referring to functions inline. Fix a typo.  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								7b93ec8428 
								
							
								 
							
						 
						
							
							
								
								Try again.  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								c5c93f2d4c 
								
							
								 
							
						 
						
							
							
								
								Tweaks, but somethign is wrong.  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								87b4ca44fa 
								
							
								 
							
						 
						
							
							
								
								Try to explain via de-sugraing, as is the style of the nomicon.  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								005053e382 
								
							
								 
							
						 
						
							
							
								
								More shortening.  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								0a6ad6179b 
								
							
								 
							
						 
						
							
							
								
								MOre tweaks, shorten.  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								4b794ca077 
								
							
								 
							
						 
						
							
							
								
								Tweaks.  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								4bf5fa6c99 
								
							
								 
							
						 
						
							
							
								
								First attempt at extending the lifetimes section.  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								d08fe97d12 
								
							
								 
							
						 
						
							
							
								
								Add Gankro's table to nomicon/src/phantom-data.md  
							
							... 
							
							
 
							
							Original: https://github.com/rust-lang/rust/issues/30069#issuecomment-159928136 
Testing confirms that:
  - PhantomData<fn() -> T> does not actually enable drop checking.
  - PhantomData<fn(T) -> T> is neither variant nor contravariant. 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								c4ef161ed0 
								
							
								 
							
						 
						
							
							
								
								Update exception-safety.md  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								c6dd2ea600 
								
							
								 
							
						 
						
							
							
								
								Update exception-safety.md  
							
							... 
							
							
 
							
							Fix variable name typo 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								7f2e5abd96 
								
							
								 
							
						 
						
							
							
								
								Revert "Fix up links"  
							
							... 
							
							
 
							
							This reverts commit 7f1d1c6d9a7be5e427bace30e740b16b25f25c92.
The original commit was created because mdBook and rustdoc had
different generation algorithms for header links; now with
https://github.com/rust-lang/rust/pull/39966  , the algorithms
are the same. So let's undo this change.
... when I came across this problem, I said "eh, this isn't fun,
but it doesn't take that long." I probably should have just actually
taken the time to fix upstream, given that they were amenable. Oh
well! 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								8e1e112170 
								
							
								 
							
						 
						
							
							
								
								Remove obsolete documentation about drop-flags  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								853058536b 
								
							
								 
							
						 
						
							
							
								
								Fix up links  
							
							... 
							
							
 
							
							mdbook and rustdoc generate links differently, so we need to change all
these links. 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								0e6c680ebd 
								
							
								 
							
						 
						
							
							
								
								Port Nomicon to mdbook  
							
							... 
							
							
 
							
							1. move everything under a src directory
2. add README.md to the SUMMARY.md 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								59c90266d3 
								
							
								 
							
						 
						
							
							
								
								Re-implement rustbook in terms of mdbook  
							
							... 
							
							
 
							
							mdbook has a lot of optional dependencies that we don't want, so instead
of using it directly, we re-build rustbook to use mdbook as a library.
For convenience' sake, we keep the same CLI interface as mdbook; the
only difference is that it only accepts build and test subcommands,
rather than the full range. 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								e189962350 
								
							
								 
							
						 
						
							
							
								
								Update nomicon to describe `#[may_dangle]`  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								46f632d85f 
								
							
								 
							
						 
						
							
							
								
								drop_in_place is stable now, don't #![feature] it in the nomicon and a test  
							
							... 
							
							
 
							
							It was stable since Rust 1.8. 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								e8afb6db19 
								
							
								 
							
						 
						
							
							
								
								Fix some typos in Nomicon  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								216456d702 
								
							
								 
							
						 
						
							
							
								
								Add more docs for CoerceUnsized and Unsize  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								65066f2ca3 
								
							
								 
							
						 
						
							
							
								
								Reword 'stupid' and 'crazy' in docs.  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								54bdbfe616 
								
							
								 
							
						 
						
							
							
								
								Fixed typo in nomicon  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								638f527655 
								
							
								 
							
						 
						
							
							
								
								Remove mention of `unsafe_no_drop_flag` from Reference and Nomicon  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								a25c06c5ec 
								
							
								 
							
						 
						
							
							
								
								doc: add missing pause  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								1b83e652e3 
								
							
								 
							
						 
						
							
							
								
								doc: remove extraneous word  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								cbcd0b2fc3 
								
							
								 
							
						 
						
							
							
								
								doc: remove stray comma  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								dcb58dbda1 
								
							
								 
							
						 
						
							
							
								
								Add missing inline code delimiters around Vec<T>  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								f3cdced83a 
								
							
								 
							
						 
						
							
							
								
								Fixed based on feedback from steveklabnik  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								bab35d7cdc 
								
							
								 
							
						 
						
							
							
								
								Rewrote "How Safe and Unsafe Interact" Nomicon chapter.  
							
							... 
							
							
 
							
							The previous version of the chapter covered a lot of ground, but was a little
meandering and hard to follow at times. This draft is intended to be clearer
and more direct, while still providing the same information as the previous
version. 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								43185c0b2e 
								
							
								 
							
						 
						
							
							
								
								Fix a few links in the book  
							
							... 
							
							
 
							
							Links to directories and direct links to doc.rust-lang.org don't work properly
when viewing the docs offline so fix them. 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								26e938ce1b 
								
							
								 
							
						 
						
							
							
								
								doc: Fix tiny typo in vec-alloc.md  
							
							... 
							
							
 
							
							Change `fast an loose` to `fast and loose`. 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								712ba3c8ec 
								
							
								 
							
						 
						
							
							
								
								subtyping.md: typo fix  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								99a8183fdb 
								
							
								 
							
						 
						
							
							
								
								improve error message  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								e2862658d2 
								
							
								 
							
						 
						
							
							
								
								suggest adding a where-clause when that can help  
							
							... 
							
							
 
							
							suggest adding a where-clause when there is an unmet trait-bound that
can be satisfied if some type can implement it. 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								a35ea15442 
								
							
								 
							
						 
						
							
							
								
								Update Rust version in the Rustonomicon Vec chapter  
							
							... 
							
							
 
							
							I verified that the final code compiles in Rust 1.9.0-nightly. 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								44b7a53b97 
								
							
								 
							
						 
						
							
							
								
								Capitalize some occurences of Rust in documentation  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								a29e5a7589 
								
							
								 
							
						 
						
							
							
								
								Fix spacing style of `T: Bound` in docs  
							
							... 
							
							
 
							
							The space between `T` and `Bound` is the typical style used in code and
produced by rustdoc's rendering. Fixed first in Reflect's docs and then
I fixed all occurrences in docs I could find. 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								6a7e5b5b04 
								
							
								 
							
						 
						
							
							
								
								Fixed indent from tabs to spaces  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								c7fff43d50 
								
							
								 
							
						 
						
							
							
								
								added zst iterator additions to final code  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								7529d7b852 
								
							
								 
							
						 
						
							
							
								
								Semicolon was at wrong place in let statement  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								20ac46402c 
								
							
								 
							
						 
						
							
							
								
								len needs to be prefixed by self for this to work. The final code in this section of the book is correct.  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								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.  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								ae44e86c13 
								
							
								 
							
						 
						
							
							
								
								Change "big ask" to "tall order" in Rustonomicon.  
							
							... 
							
							
 
							
							The Rustonomicon's Lifetimes chapter uses the idiom "big ask", which is obscure compared to "tall order" (check Google ngrams). Also, it's easily mistaken for a typo; either "a big task" or "a big thing to ask" could plausibly work there. 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								ef1cd4dd45 
								
							
								 
							
						 
						
							
							
								
								nomicon: Mention contravariance  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								9a11f6e3ff 
								
							
								 
							
						 
						
							
							
								
								nomicon: Fix variance in example  
							
							... 
							
							
 
							
							&'b mut B was described incorrectly (just in this example, is correct in
the actual text). 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								31e414c51a 
								
							
								 
							
						 
						
							
							
								
								Remove nomicon reference to copy_lifetime  
							
							... 
							
							
 
							
							Fixes  #29784  
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								8dc4b7608d 
								
							
								 
							
						 
						
							
							
								
								Nomicon: mention tuple structs with repr(c)  
							
							... 
							
							
 
							
							Fixes  #29526  
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								9bfb59ca83 
								
							
								 
							
						 
						
							
							
								
								Fix typo  
							
							
 
							
						 
						
							9 years ago