Fix documentation (#219)

This commit is contained in:
luben karavelov
2018-07-02 12:10:16 -07:00
committed by Carl Lerche
parent 7785cde587
commit 6414efe83b
+2 -2
View File
@@ -18,8 +18,8 @@
//! using a reference count to track when the memory is no longer needed and can
//! be freed.
//!
//! A `Bytes` handle can be created directly from an existing byte store (such as &[u8]
//! or Vec<u8>), but usually a `BytesMut` is used first and written to. For
//! A `Bytes` handle can be created directly from an existing byte store (such as `&[u8]`
//! or `Vec<u8>`), but usually a `BytesMut` is used first and written to. For
//! example:
//!
//! ```rust