]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #34848 - tshepang:patch-1, r=apasel422
authorGuillaume Gomez <guillaume1.gomez@gmail.com>
Sat, 16 Jul 2016 14:55:59 +0000 (16:55 +0200)
committerGitHub <noreply@github.com>
Sat, 16 Jul 2016 14:55:59 +0000 (16:55 +0200)
doc: remove stray comma

1  2 
src/doc/nomicon/phantom-data.md

index 2be14c150165c3bf114abf17c65c379e3edbd4d8,ba9ef19830b698cbd9cf4504ab8af29ece4d9a98..fff8ca752b0b91fd1d5bc5c91ec6b2edbf3bce97
@@@ -56,7 -56,7 +56,7 @@@ Good to go
  
  Nope.
  
 -The drop checker will generously determine that Vec<T> does not own any values
 +The drop checker will generously determine that `Vec<T>` does not own any values
  of type T. This will in turn make it conclude that it doesn't need to worry
  about Vec dropping any T's in its destructor for determining drop check
  soundness. This will in turn allow people to create unsoundness using
@@@ -81,7 -81,7 +81,7 @@@ Raw pointers that own an allocation is 
  standard library made a utility for itself called `Unique<T>` which:
  
  * wraps a `*const T` for variance
- * includes a `PhantomData<T>`,
+ * includes a `PhantomData<T>`
  * auto-derives Send/Sync as if T was contained
  * marks the pointer as NonZero for the null-pointer optimization