You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/lib.rs
+3-9Lines changed: 3 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,5 @@
1
1
//! A crate for safe and ergonomic pin-projection.
2
2
//!
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
-
//!
9
3
//! ## Examples
10
4
//!
11
5
//! [`pin_project`] attribute creates a projection struct covering all the fields.
@@ -32,11 +26,11 @@
32
26
//!
33
27
//! [Code like this will be generated](https://github.com/taiki-e/pin-project/blob/master/examples/struct-default-expanded.rs)
34
28
//!
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.
0 commit comments