mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 00:34:06 +00:00
remove some feature gates from the docs
These aren't actually needed
This commit is contained in:
parent
320bd6f874
commit
66f757b26d
@ -1859,8 +1859,6 @@ impl str {
|
|||||||
/// # Examples
|
/// # Examples
|
||||||
///
|
///
|
||||||
/// ```
|
/// ```
|
||||||
/// #![feature(str_casing)]
|
|
||||||
///
|
|
||||||
/// let s = "HELLO";
|
/// let s = "HELLO";
|
||||||
/// assert_eq!(s.to_lowercase(), "hello");
|
/// assert_eq!(s.to_lowercase(), "hello");
|
||||||
/// ```
|
/// ```
|
||||||
@ -1905,8 +1903,6 @@ impl str {
|
|||||||
/// # Examples
|
/// # Examples
|
||||||
///
|
///
|
||||||
/// ```
|
/// ```
|
||||||
/// #![feature(str_casing)]
|
|
||||||
///
|
|
||||||
/// let s = "hello";
|
/// let s = "hello";
|
||||||
/// assert_eq!(s.to_uppercase(), "HELLO");
|
/// assert_eq!(s.to_uppercase(), "HELLO");
|
||||||
/// ```
|
/// ```
|
||||||
|
Loading…
Reference in New Issue
Block a user