8000 Re-add rust-docs component for lintcheck by tesuji · Pull Request #702 · rust-lang/reference · GitHub
[go: up one dir, main page]

Skip to content
8000

Re-add rust-docs component for lintcheck #702

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 22, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
chore: Add rust syntax to an example
  • Loading branch information
tesuji committed Oct 22, 2019
commit 5606f18b7d42d408adce7430bc6d3a8afa96e3d2
5 changes: 3 additions & 2 deletions src/items/generics.md
< 67F3 col width="44">
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,11 @@ attributes may give meaning to it.
This example shows using a custom derive attribute to modify the meaning of a
generic parameter.

```ignore
```rust,ignore
// Assume that the derive for MyFlexibleClone declared `my_flexible_clone` as
// an attribute it understands.
#[derive(MyFlexibleClone)] struct Foo<#[my_flexible_clone(unbounded)] H> {
#[derive(MyFlexibleClone)]
struct Foo<#[my_flexible_clone(unbounded)] H> {
a: *const H
}
```
Expand Down
0