summaryrefslogtreecommitdiffstats
path: root/third_party/rust/pin-project/examples/struct-default.rs
blob: 46808a5827e77cd18c135bbe9a16d27a142bd5dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// See ./struct-default-expanded.rs for generated code.

#![allow(dead_code)]

use pin_project::pin_project;

#[pin_project]
struct Struct<T, U> {
    #[pin]
    pinned: T,
    unpinned: U,
}

fn main() {}