Skip to content

Commit 879d14a

Browse files
authored
Update README.md
1 parent eed7352 commit 879d14a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ There are a few restrictions on `#[auto_impl]` for smart pointers. The trait mus
107107
## Implement a trait for a closure
108108

109109
```rust
110+
#[auto_impl(Fn)]
110111
trait FnTrait2<'a, T> {
111112
fn execute<'b>(&'a self, arg1: &'b T, arg2: &'static str) -> Result<(), String>;
112113
}

0 commit comments

Comments
 (0)