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: Buf> Reader<B> {
/// ```rust
/// use bytes::buf::BufExt;
///
/// let mut buf = b"hello world".reader();
/// let buf = b"hello world".reader();
///
/// assert_eq!(b"hello world", buf.get_ref());
/// ```