Skip to content

Commit 0a39964

Browse files
authored
Rollup merge of #69788 - ArekPiekarz:unstable_book_optin_builtin_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.
2 parents a130954 + b90edfc commit 0a39964

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/unstable-book/src/language-features/optin-builtin-traits.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ has explicitly opted out via a negative impl.
1616
[`Sync`]: https://doc.rust-lang.org/std/marker/trait.Sync.html
1717

1818
```rust,ignore
19-
impl !Type for Trait
19+
impl !Trait for Type
2020
```
2121

2222
Example:

0 commit comments

Comments
 (0)