0.4.20
-
You can now use project_replace argument without Replace argument.
This used to require you to specify both.- #[pin_project(Replace, project_replace = EnumProjOwn)] + #[pin_project(project_replace = EnumProjOwn)] enum Enum<T> { Variant(#[pin] T) }
-
Makes
project_replace
argument an alias forReplace
argument so that it can be used without a value.#[pin_project(project_replace)] enum Enum<T> { Variant(#[pin] T) }
The
Replace
argument will be deprecated in the future. -
Suppress
unreachable_pub
lint in generated code.