portal
							
						 
						
							 
							
							
							
								
							
								9cc14cd6a4 
								
							
								 
							
						 
						
							
							
								
								Replace occurrences of `uint` with `usize`  
							
							 
							
							
 
							
						 
						
							9 years ago  
						
					 
				
					
						
							
							
								 
								Steve Klabnik
							
						 
						
							 
							
							
							
								
							
								1524ea4d5f 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #12  from rust-lang-nursery/fixes  
							
							 
							
							... 
							
							
 
							
							Two fixes 
							
						 
						
							9 years ago  
						
					 
				
					
						
							
							
								 
								steveklabnik
							
						 
						
							 
							
							
							
								
							
								b5f1f9d75e 
								
							
								 
							
						 
						
							
							
								
								Add @aldeka's safe and unsafe Ferris  
							
							 
							
							... 
							
							
 
							
							https://github.com/rust-lang/rust/pull/33845  lives! 
							
						 
						
							9 years ago  
						
					 
				
					
						
							
							
								 
								steveklabnik
							
						 
						
							 
							
							
							
								
							
								12f257bf47 
								
							
								 
							
						 
						
							
							
								
								let's ignore generated content  
							
							 
							
							
 
							
						 
						
							9 years ago  
						
					 
				
					
						
							
							
								 
								Steve Klabnik
							
						 
						
							 
							
							
							
								
							
								0e31470870 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #10  from king6cong/master  
							
							 
							
							... 
							
							
 
							
							fix typo 
							
						 
						
							9 years ago  
						
					 
				
					
						
							
							
								 
								Steve Klabnik
							
						 
						
							 
							
							
							
								
							
								596876816b 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #11  from king6cong/reword  
							
							 
							
							... 
							
							
 
							
							rewording 
							
						 
						
							9 years ago  
						
					 
				
					
						
							
							
								 
								king6cong
							
						 
						
							 
							
							
							
								
							
								3abe4910eb 
								
							
								 
							
						 
						
							
							
								
								rewording  
							
							 
							
							
 
							
						 
						
							9 years ago  
						
					 
				
					
						
							
							
								 
								king6cong
							
						 
						
							 
							
							
							
								
							
								6dd445b8e7 
								
							
								 
							
						 
						
							
							
								
								fix typo  
							
							 
							
							
 
							
						 
						
							9 years ago  
						
					 
				
					
						
							
							
								 
								Steve Klabnik
							
						 
						
							 
							
							
							
								
							
								616b98444f 
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #3  from rust-lang-nursery/add-readme  
							
							 
							
							... 
							
							
 
							
							Add README.md 
							
						 
						
							9 years ago  
						
					 
				
					
						
							
							
								 
								steveklabnik
							
						 
						
							 
							
							
							
								
							
								1e2b93f5c9 
								
							
								 
							
						 
						
							
							
								
								only do travis on nightly  
							
							 
							
							... 
							
							
 
							
							it's the nomicon, duh 👻  
							
						 
						
							9 years ago  
						
					 
				
					
						
							
							
								 
								steveklabnik
							
						 
						
							 
							
							
							
								
							
								34d3f162a4 
								
							
								 
							
						 
						
							
							
								
								add travis.yml  
							
							 
							
							
 
							
						 
						
							9 years ago  
						
					 
				
					
						
							
							
								 
								steveklabnik
							
						 
						
							 
							
							
							
								
							
								3d4b55bdd0 
								
							
								 
							
						 
						
							
							
								
								Add README.md  
							
							 
							
							
 
							
						 
						
							9 years ago  
						
					 
				
					
						
							
							
								 
								Phil Ruffwind
							
						 
						
							 
							
							
							
								
							
								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  
						
					 
				
					
						
							
							
								 
								Luxko
							
						 
						
							 
							
							
							
								
							
								c4ef161ed0 
								
							
								 
							
						 
						
							
							
								
								Update exception-safety.md  
							
							 
							
							
 
							
						 
						
							9 years ago  
						
					 
				
					
						
							
							
								 
								Luxko
							
						 
						
							 
							
							
							
								
							
								c6dd2ea600 
								
							
								 
							
						 
						
							
							
								
								Update exception-safety.md  
							
							 
							
							... 
							
							
 
							
							Fix variable name typo 
							
						 
						
							9 years ago  
						
					 
				
					
						
							
							
								 
								Steve Klabnik
							
						 
						
							 
							
							
							
								
							
								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  
						
					 
				
					
						
							
							
								 
								Jeff Muizelaar
							
						 
						
							 
							
							
							
								
							
								8e1e112170 
								
							
								 
							
						 
						
							
							
								
								Remove obsolete documentation about drop-flags  
							
							 
							
							
 
							
						 
						
							9 years ago  
						
					 
				
					
						
							
							
								 
								Steve Klabnik
							
						 
						
							 
							
							
							
								
							
								853058536b 
								
							
								 
							
						 
						
							
							
								
								Fix up links  
							
							 
							
							... 
							
							
 
							
							mdbook and rustdoc generate links differently, so we need to change all
these links. 
							
						 
						
							9 years ago  
						
					 
				
					
						
							
							
								 
								Steve Klabnik
							
						 
						
							 
							
							
							
								
							
								0e6c680ebd 
								
							
								 
							
						 
						
							
							
								
								Port Nomicon to mdbook  
							
							 
							
							... 
							
							
 
							
							1. move everything under a src directory
2. add README.md to the SUMMARY.md 
							
						 
						
							9 years ago  
						
					 
				
					
						
							
							
								 
								Steve Klabnik
							
						 
						
							 
							
							
							
								
							
								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  
						
					 
				
					
						
							
							
								 
								Andrew Paseltiner
							
						 
						
							 
							
							
							
								
							
								e189962350 
								
							
								 
							
						 
						
							
							
								
								Update nomicon to describe `#[may_dangle]`  
							
							 
							
							
 
							
						 
						
							9 years ago  
						
					 
				
					
						
							
							
								 
								est31
							
						 
						
							 
							
							
							
								
							
								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  
						
					 
				
					
						
							
							
								 
								Ben Wiederhake
							
						 
						
							 
							
							
							
								
							
								e8afb6db19 
								
							
								 
							
						 
						
							
							
								
								Fix some typos in Nomicon  
							
							 
							
							
 
							
						 
						
							9 years ago  
						
					 
				
					
						
							
							
								 
								Manish Goregaokar
							
						 
						
							 
							
							
							
								
							
								216456d702 
								
							
								 
							
						 
						
							
							
								
								Add more docs for CoerceUnsized and Unsize  
							
							 
							
							
 
							
						 
						
							9 years ago  
						
					 
				
					
						
							
							
								 
								Clar Charr
							
						 
						
							 
							
							
							
								
							
								65066f2ca3 
								
							
								 
							
						 
						
							
							
								
								Reword 'stupid' and 'crazy' in docs.  
							
							 
							
							
 
							
						 
						
							9 years ago  
						
					 
				
					
						
							
							
								 
								Jakob Demler
							
						 
						
							 
							
							
							
								
							
								54bdbfe616 
								
							
								 
							
						 
						
							
							
								
								Fixed typo in nomicon  
							
							 
							
							
 
							
						 
						
							9 years ago  
						
					 
				
					
						
							
							
								 
								Andrew Paseltiner
							
						 
						
							 
							
							
							
								
							
								638f527655 
								
							
								 
							
						 
						
							
							
								
								Remove mention of `unsafe_no_drop_flag` from Reference and Nomicon  
							
							 
							
							
 
							
						 
						
							9 years ago  
						
					 
				
					
						
							
							
								 
								Tshepang Lekhonkhobe
							
						 
						
							 
							
							
							
								
							
								a25c06c5ec 
								
							
								 
							
						 
						
							
							
								
								doc: add missing pause  
							
							 
							
							
 
							
						 
						
							9 years ago  
						
					 
				
					
						
							
							
								 
								Tshepang Lekhonkhobe
							
						 
						
							 
							
							
							
								
							
								1b83e652e3 
								
							
								 
							
						 
						
							
							
								
								doc: remove extraneous word  
							
							 
							
							
 
							
						 
						
							9 years ago  
						
					 
				
					
						
							
							
								 
								Tshepang Lekhonkhobe
							
						 
						
							 
							
							
							
								
							
								cbcd0b2fc3 
								
							
								 
							
						 
						
							
							
								
								doc: remove stray comma  
							
							 
							
							
 
							
						 
						
							9 years ago  
						
					 
				
					
						
							
							
								 
								Bastien Dejean
							
						 
						
							 
							
							
							
								
							
								dcb58dbda1 
								
							
								 
							
						 
						
							
							
								
								Add missing inline code delimiters around Vec<T>  
							
							 
							
							
 
							
						 
						
							9 years ago  
						
					 
				
					
						
							
							
								 
								Andrew Brinker
							
						 
						
							 
							
							
							
								
							
								f3cdced83a 
								
							
								 
							
						 
						
							
							
								
								Fixed based on feedback from steveklabnik  
							
							 
							
							
 
							
						 
						
							9 years ago  
						
					 
				
					
						
							
							
								 
								Andrew Brinker
							
						 
						
							 
							
							
							
								
							
								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  
						
					 
				
					
						
							
							
								 
								Oliver Middleton
							
						 
						
							 
							
							
							
								
							
								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  
						
					 
				
					
						
							
							
								 
								Brian Green
							
						 
						
							 
							
							
							
								
							
								26e938ce1b 
								
							
								 
							
						 
						
							
							
								
								doc: Fix tiny typo in vec-alloc.md  
							
							 
							
							... 
							
							
 
							
							Change `fast an loose` to `fast and loose`. 
							
						 
						
							9 years ago  
						
					 
				
					
						
							
							
								 
								c4rlo
							
						 
						
							 
							
							
							
								
							
								712ba3c8ec 
								
							
								 
							
						 
						
							
							
								
								subtyping.md: typo fix  
							
							 
							
							
 
							
						 
						
							9 years ago  
						
					 
				
					
						
							
							
								 
								Ariel Ben-Yehuda
							
						 
						
							 
							
							
							
								
							
								99a8183fdb 
								
							
								 
							
						 
						
							
							
								
								improve error message  
							
							 
							
							
 
							
						 
						
							9 years ago  
						
					 
				
					
						
							
							
								 
								Ariel Ben-Yehuda
							
						 
						
							 
							
							
							
								
							
								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  
						
					 
				
					
						
							
							
								 
								Matt Brubeck
							
						 
						
							 
							
							
							
								
							
								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  
						
					 
				
					
						
							
							
								 
								Florian Hahn
							
						 
						
							 
							
							
							
								
							
								44b7a53b97 
								
							
								 
							
						 
						
							
							
								
								Capitalize some occurences of Rust in documentation  
							
							 
							
							
 
							
						 
						
							9 years ago  
						
					 
				
					
						
							
							
								 
								Ulrik Sverdrup
							
						 
						
							 
							
							
							
								
							
								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  
						
					 
				
					
						
							
							
								 
								Jonas Tepe
							
						 
						
							 
							
							
							
								
							
								6a7e5b5b04 
								
							
								 
							
						 
						
							
							
								
								Fixed indent from tabs to spaces  
							
							 
							
							
 
							
						 
						
							9 years ago  
						
					 
				
					
						
							
							
								 
								Jonas Tepe
							
						 
						
							 
							
							
							
								
							
								c7fff43d50 
								
							
								 
							
						 
						
							
							
								
								added zst iterator additions to final code  
							
							 
							
							
 
							
						 
						
							9 years ago  
						
					 
				
					
						
							
							
								 
								Jonas Tepe
							
						 
						
							 
							
							
							
								
							
								7529d7b852 
								
							
								 
							
						 
						
							
							
								
								Semicolon was at wrong place in let statement  
							
							 
							
							
 
							
						 
						
							9 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.  
							
							 
							
							
 
							
						 
						
							9 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.  
							
							 
							
							
 
							
						 
						
							9 years ago  
						
					 
				
					
						
							
							
								 
								Steve Wooster
							
						 
						
							 
							
							
							
								
							
								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  
						
					 
				
					
						
							
							
								 
								Ulrik Sverdrup
							
						 
						
							 
							
							
							
								
							
								ef1cd4dd45 
								
							
								 
							
						 
						
							
							
								
								nomicon: Mention contravariance  
							
							 
							
							
 
							
						 
						
							9 years ago  
						
					 
				
					
						
							
							
								 
								Ulrik Sverdrup
							
						 
						
							 
							
							
							
								
							
								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  
						
					 
				
					
						
							
							
								 
								Steve Klabnik
							
						 
						
							 
							
							
							
								
							
								31e414c51a 
								
							
								 
							
						 
						
							
							
								
								Remove nomicon reference to copy_lifetime  
							
							 
							
							... 
							
							
 
							
							Fixes  #29784  
							
						 
						
							9 years ago