Skip to content

Commit

Permalink
Merge pull request #17 from djc/patch-1
Browse files Browse the repository at this point in the history
Clarify that Bytes wraps around [u8]
  • Loading branch information
dtolnay committed Dec 4, 2019
2 parents 4856e26 + 1d80a4d commit 6ddf898
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bytes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ use crate::ByteBuf;
use serde::de::{Deserialize, Deserializer, Error, Visitor};
use serde::ser::{Serialize, Serializer};

/// Wrapper around `&[u8]` to serialize and deserialize efficiently.
/// Wrapper around `[u8]` to serialize and deserialize efficiently.
///
/// ```
/// use std::collections::HashMap;
Expand Down

0 comments on commit 6ddf898

Please sign in to comment.