File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -264,6 +264,7 @@ pub trait Show {
264
264
#[ lang = "debug_trait" ]
265
265
pub trait Debug {
266
266
/// Formats the value using the given formatter.
267
+ #[ stable( feature = "rust1" , since = "1.0.0" ) ]
267
268
fn fmt ( & self , & mut Formatter ) -> Result ;
268
269
}
269
270
@@ -290,6 +291,7 @@ pub trait String {
290
291
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
291
292
pub trait Display {
292
293
/// Formats the value using the given formatter.
294
+ #[ stable( feature = "rust1" , since = "1.0.0" ) ]
293
295
fn fmt ( & self , & mut Formatter ) -> Result ;
294
296
}
295
297
Original file line number Diff line number Diff line change @@ -119,6 +119,7 @@ impl<'a, T> Iterator for &'a mut (Iterator<Item=T> + 'a) {
119
119
built from an iterator over elements of type `{A}`"]
120
120
pub trait FromIterator < A > {
121
121
/// Build a container with elements from an external iterator.
122
+ #[ stable( feature = "rust1" , since = "1.0.0" ) ]
122
123
fn from_iter < T : Iterator < Item =A > > ( iterator : T ) -> Self ;
123
124
}
124
125
@@ -1821,6 +1822,7 @@ impl<I: Iterator> Peekable<I> {
1821
1822
/// Return a reference to the next element of the iterator with out
1822
1823
/// advancing it, or None if the iterator is exhausted.
1823
1824
#[ inline]
1825
+ #[ stable( feature = "rust1" , since = "1.0.0" ) ]
1824
1826
pub fn peek ( & mut self ) -> Option < & I :: Item > {
1825
1827
if self . peeked . is_none ( ) {
1826
1828
self . peeked = self . iter . next ( ) ;
You can’t perform that action at this time.
0 commit comments