Deny warnings for doc tests (#391)

This commit is contained in:
Taiki Endo
2020-05-24 06:30:50 +09:00
committed by GitHub
parent 08ec01d1e7
commit e9877e7a3d
6 changed files with 15 additions and 10 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ impl<B: BufMut> Writer<B> {
/// ```rust
/// use bytes::buf::BufMutExt;
///
/// let mut buf = Vec::with_capacity(1024).writer();
/// let buf = Vec::with_capacity(1024).writer();
///
/// assert_eq!(1024, buf.get_ref().capacity());
/// ```