Skip to content

Commit

Permalink
Small fix for #25611
Browse files Browse the repository at this point in the history
  • Loading branch information
steveklabnik committed May 20, 2015
1 parent ed3c644 commit 55da4c6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/libcollections/str.rs
Expand Up @@ -1842,6 +1842,8 @@ impl str {
/// # Examples
///
/// ```
/// #![feature(collections)]
///
/// let s = "HELLO";
/// assert_eq!(s.to_lowercase(), "hello");
/// ```
Expand All @@ -1857,6 +1859,8 @@ impl str {
/// # Examples
///
/// ```
/// #![feature(collections)]
///
/// let s = "hello";
/// assert_eq!(s.to_uppercase(), "HELLO");
/// ```
Expand Down

0 comments on commit 55da4c6

Please sign in to comment.