Skip to content

Commit

Permalink
Fix changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Sep 11, 2019
1 parent 496af24 commit 5b84c34
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,20 @@

* [Changed #[pinned_drop] to trait implementation.][86]

[77]: https://github.com/taiki-e/pin-project/pull/86
```rust
#[pinned_drop]
impl<T> PinnedDrop for Foo<'_, T> {
fn drop(mut self: Pin<&mut Self>) {
**self.project().was_dropped = true;
}
}
```

* Added some examples and generated code.

* Improve error messages.

[86]: https://github.com/taiki-e/pin-project/pull/86

# 0.4.0-alpha.10 - 2019-09-07

Expand Down

0 comments on commit 5b84c34

Please sign in to comment.