Fix documentation (#219)

This commit is contained in:
luben karavelov
2018-07-02 20:10:16 +01:00
committed by Carl Lerche
parent 732b949e5e
commit 43854b9a8e
+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