Skip to content

Commit 5b84c34

Browse files
committed
Fix changelog
1 parent 496af24 commit 5b84c34

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

CHANGELOG.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,20 @@
44

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

7-
[77]: https://github.com/taiki-e/pin-project/pull/86
7+
```rust
8+
#[pinned_drop]
9+
impl<T> PinnedDrop for Foo<'_, T> {
10+
fn drop(mut self: Pin<&mut Self>) {
11+
**self.project().was_dropped = true;
12+
}
13+
}
14+
```
15+
16+
* Added some examples and generated code.
17+
18+
* Improve error messages.
19+
20+
[86]: https://github.com/taiki-e/pin-project/pull/86
821

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

0 commit comments

Comments
 (0)