Skip to content

Commit 55da4c6

Browse files
committed
Small fix for #25611
1 parent ed3c644 commit 55da4c6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/libcollections/str.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1842,6 +1842,8 @@ impl str {
18421842
/// # Examples
18431843
///
18441844
/// ```
1845+
/// #![feature(collections)]
1846+
///
18451847
/// let s = "HELLO";
18461848
/// assert_eq!(s.to_lowercase(), "hello");
18471849
/// ```
@@ -1857,6 +1859,8 @@ impl str {
18571859
/// # Examples
18581860
///
18591861
/// ```
1862+
/// #![feature(collections)]
1863+
///
18601864
/// let s = "hello";
18611865
/// assert_eq!(s.to_uppercase(), "HELLO");
18621866
/// ```

0 commit comments

Comments
 (0)