Skip to content

Commit

Permalink
small fix to str doc example
Browse files Browse the repository at this point in the history
  • Loading branch information
steveklabnik committed Dec 17, 2015
1 parent d4ffaf6 commit 4e2ec9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libstd/primitive_docs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4e2ec9a

Please sign in to comment.