taiki-e / pin-project-lite

A lightweight version of pin-project written with declarative macros.
https://docs.rs/pin-project-lite
Apache License 2.0
226 stars 16 forks source link

Determine the visibility based on the original type #5

Closed taiki-e closed 4 years ago

taiki-e commented 4 years ago

The visibility of the projected type and projection method is based on the original type. However, if the visibility of the original type is pub, the visibility of the projected type and the projection method is pub(crate).

Based on https://github.com/taiki-e/pin-project/pull/96

taiki-e commented 4 years ago

bors r+

bors[bot] commented 4 years ago

Build succeeded