Bump to v1.2.2

This commit is contained in:
Stjepan Glavina 2020-09-19 00:28:24 +02:00
parent c37934d55e
commit 286e5f507e
3 changed files with 11 additions and 7 deletions

View File

@ -1,3 +1,7 @@
# Version 1.2.2
- Fix typos in the docs.
# Version 1.2.1
- Forbid unsafe code.

View File

@ -1,6 +1,6 @@
[package]
name = "async-dup"
version = "1.2.1"
version = "1.2.2"
authors = ["Stjepan Glavina <stjepang@gmail.com>"]
edition = "2018"
description = "Duplicate an async I/O handle"

View File

@ -214,12 +214,12 @@ where
///
/// This is a blocking mutex that adds the following impls:
///
/// - `impl<T> AsyncRead for Mutex<T> where &T: AsyncRead + Unpin {}`
/// - `impl<T> AsyncRead for &Mutex<T> where &T: AsyncRead + Unpin {}`
/// - `impl<T> AsyncWrite for Mutex<T> where &T: AsyncWrite + Unpin {}`
/// - `impl<T> AsyncWrite for &Mutex<T> where &T: AsyncWrite + Unpin {}`
/// - `impl<T> AsyncSeek for Mutex<T> where &T: AsyncSeek + Unpin {}`
/// - `impl<T> AsyncSeek for &Mutex<T> where &T: AsyncSeek + Unpin {}`
/// - `impl<T> AsyncRead for Mutex<T> where T: AsyncRead + Unpin {}`
/// - `impl<T> AsyncRead for &Mutex<T> where T: AsyncRead + Unpin {}`
/// - `impl<T> AsyncWrite for Mutex<T> where T: AsyncWrite + Unpin {}`
/// - `impl<T> AsyncWrite for &Mutex<T> where T: AsyncWrite + Unpin {}`
/// - `impl<T> AsyncSeek for Mutex<T> where T: AsyncSeek + Unpin {}`
/// - `impl<T> AsyncSeek for &Mutex<T> where T: AsyncSeek + Unpin {}`
pub struct Mutex<T>(simple_mutex::Mutex<T>);
impl<T> Mutex<T> {