1
Fork 0

Fix a few impl stability attributes

The versions show up in rustdoc.
This commit is contained in:
Oliver Middleton 2017-01-29 13:31:47 +00:00
parent 010c3e25c4
commit 9128f6100c
28 changed files with 116 additions and 93 deletions

View file

@ -131,7 +131,6 @@ impl Iterator for CaseMappingIter {
}
}
#[stable(feature = "char_struct_display", since = "1.17.0")]
impl fmt::Display for CaseMappingIter {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
match *self {
@ -152,14 +151,14 @@ impl fmt::Display for CaseMappingIter {
}
}
#[stable(feature = "char_struct_display", since = "1.17.0")]
#[stable(feature = "char_struct_display", since = "1.16.0")]
impl fmt::Display for ToLowercase {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
fmt::Display::fmt(&self.0, f)
}
}
#[stable(feature = "char_struct_display", since = "1.17.0")]
#[stable(feature = "char_struct_display", since = "1.16.0")]
impl fmt::Display for ToUppercase {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
fmt::Display::fmt(&self.0, f)