Skip to content

Commit

Permalink
Rollup merge of #69788 - ArekPiekarz:unstable_book_optin_builtin_trai…
Browse files Browse the repository at this point in the history
…ts, 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 a130954 + b90edfc commit 0a39964
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 0a39964

Please sign in to comment.