mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-16 21:15:18 +03:00
Auto merge of #26763 - steveklabnik:fix_feature_gates, r=sfackler
These aren't actually needed
This commit is contained in:
@@ -1859,8 +1859,6 @@ pub fn replace(&self, from: &str, to: &str) -> String {
|
||||
/// # Examples
|
||||
///
|
||||
/// ```
|
||||
/// #![feature(str_casing)]
|
||||
///
|
||||
/// let s = "HELLO";
|
||||
/// assert_eq!(s.to_lowercase(), "hello");
|
||||
/// ```
|
||||
@@ -1905,8 +1903,6 @@ fn case_ignoreable_then_cased<I: Iterator<Item=char>>(iter: I) -> bool {
|
||||
/// # Examples
|
||||
///
|
||||
/// ```
|
||||
/// #![feature(str_casing)]
|
||||
///
|
||||
/// let s = "hello";
|
||||
/// assert_eq!(s.to_uppercase(), "HELLO");
|
||||
/// ```
|
||||
|
||||
Reference in New Issue
Block a user