aboutsummaryrefslogtreecommitdiff
path: root/examples/enum-default-expanded.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/enum-default-expanded.rs')
-rw-r--r--examples/enum-default-expanded.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/enum-default-expanded.rs b/examples/enum-default-expanded.rs
index f234b51..2153592 100644
--- a/examples/enum-default-expanded.rs
+++ b/examples/enum-default-expanded.rs
@@ -45,10 +45,10 @@ const _: () = {
) -> EnumProj<'pin, T, U> {
unsafe {
match self.get_unchecked_mut() {
- Enum::Pinned(_0) => {
+ Self::Pinned(_0) => {
EnumProj::Pinned(::pin_project::__private::Pin::new_unchecked(_0))
}
- Enum::Unpinned(_0) => EnumProj::Unpinned(_0),
+ Self::Unpinned(_0) => EnumProj::Unpinned(_0),
}
}
}