Merge pull request #2 from narodnik/master

make wrapper source value publicly accessible
This commit is contained in:
Stjepan Glavina 2020-07-05 19:22:29 +02:00 committed by GitHub
commit 8442c21fe6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ use futures_io::{AsyncRead, AsyncSeek, AsyncWrite};
/// - `impl<T> AsyncRead for Arc<T> where &T: AsyncRead {}`
/// - `impl<T> AsyncWrite for Arc<T> where &T: AsyncWrite {}`
/// - `impl<T> AsyncSeek for Arc<T> where &T: AsyncSeek {}`
pub struct Arc<T>(std::sync::Arc<T>);
pub struct Arc<T>(pub std::sync::Arc<T>);
impl<T> Unpin for Arc<T> {}