Skip to content

Commit

Permalink
chore(lib): core lib reexport
Browse files Browse the repository at this point in the history
  • Loading branch information
hyyking authored and cramertj committed Apr 22, 2020
1 parent d5424b6 commit cddb4e4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/projection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ macro_rules! unsafe_pinned {
($f:tt: $t:ty) => (
#[allow(unsafe_code)]
fn $f<'__a>(
self: ::core::pin::Pin<&'__a mut Self>
) -> ::core::pin::Pin<&'__a mut $t> {
self: $crate::core_reexport::pin::Pin<&'__a mut Self>
) -> $crate::core_reexport::pin::Pin<&'__a mut $t> {
unsafe {
::core::pin::Pin::map_unchecked_mut(
$crate::core_reexport::pin::Pin::map_unchecked_mut(
self, |x| &mut x.$f
)
}
Expand Down

0 comments on commit cddb4e4

Please sign in to comment.