Skip to content

Commit

Permalink
Rollup merge of rust-lang#69788 - ArekPiekarz:unstable_book_optin_bui…
Browse files Browse the repository at this point in the history
…ltin_traits, r=Dylan-DPC

Fix sequence of Type and Trait in optin-builtin-traits in Unstable Book

A simple fix in docs - the sequence of words in basic example of negative trait implementation was reversed.
  • Loading branch information
Centril authored Mar 24, 2020
2 parents 3ef1dd3 + b90edfc commit 4c313c7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ has explicitly opted out via a negative impl.
[`Sync`]: https://doc.rust-lang.org/std/marker/trait.Sync.html

```rust,ignore
impl !Type for Trait
impl !Trait for Type
```

Example:
Expand Down

0 comments on commit 4c313c7

Please sign in to comment.