Skip to content

Commit 5c71b57

Browse files
committed
Tweak documentation
1 parent 607b4bd commit 5c71b57

1 file changed

Lines changed: 3 additions & 9 deletions

File tree

src/lib.rs

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
11
//! A crate for safe and ergonomic pin-projection.
22
//!
3-
//! This crate provides the following attribute macros:
4-
//!
5-
//! * [`pin_project`] - An attribute that creates a projection struct covering all the fields.
6-
//! * [`pinned_drop`] - An attribute for annotating a function that implements `Drop`.
7-
//! * [`project`] - An attribute to support pattern matching.
8-
//!
93
//! ## Examples
104
//!
115
//! [`pin_project`] attribute creates a projection struct covering all the fields.
@@ -32,11 +26,11 @@
3226
//!
3327
//! [Code like this will be generated](https://github.com/taiki-e/pin-project/blob/master/examples/struct-default-expanded.rs)
3428
//!
35-
//! There are examples and generated code of each feature in [examples](https://github.com/taiki-e/pin-project/blob/master/examples/README.md) directory.
29+
//! See [`pin_project`] attribute for more details.
30+
//!
31+
//! Also, there are examples and generated code of each feature in [examples](https://github.com/taiki-e/pin-project/blob/master/examples/README.md) directory.
3632
//!
3733
//! [`pin_project`]: attr.pin_project.html
38-
//! [`pinned_drop`]: attr.pinned_drop.html
39-
//! [`project`]: attr.project.html
4034
4135
#![no_std]
4236
#![recursion_limit = "256"]

0 commit comments

Comments
 (0)