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 committed Mar 24, 2020
2 parents 342c5f3 + b90edfc commit 84c5631
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 84c5631

Please sign in to comment.