auto_impl 1.3.0

Automatically implement traits for common smart pointers and closures
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Examples

- `error_messages`: contains some incorrect code that showcases the error messages emitted by `auto_impl`
- **`greet_closure`**: simple example showing how to auto impl for `Fn` traits
- **`keep_default_for`**: shows how to use the `#[auto_impl(keep_default_for(...))]` attribute
- `names`: showcases how `auto_impl` chooses new ident names
- **`refs`**: shows how to auto impl for `&` and `Box`


**Note**: if you want to see what the generated impl blocks look like, use the execellent [`cargo expand`](https://github.com/dtolnay/cargo-expand):

```
$ cargo expand --example refs
```