small fix to str doc example

This commit is contained in:
Steve Klabnik 2015-12-16 22:12:47 -05:00
parent d4ffaf6f83
commit 4e2ec9a178

View File

@ -333,7 +333,7 @@ mod prim_slice { }
/// let ptr = story.as_ptr();
/// let len = story.len();
///
/// // story has thirteen bytes
/// // story has nineteen bytes
/// assert_eq!(19, len);
///
/// // We can re-build a str out of ptr and len. This is all unsafe becuase