diff options
| author | bors <bors@rust-lang.org> | 2015-01-10 08:00:09 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-01-10 08:00:09 +0000 |
| commit | d36dc159522ea5e587c5c7f6e4df080f063e9b48 (patch) | |
| tree | cec60404482f4d798d430c7beb2674ffcfcf70de /src/libcore | |
| parent | 391e0106ef46085da4998c841ffb44c115633e45 (diff) | |
| parent | cbd962ebb585732e287478169108099bcc265024 (diff) | |
| download | rust-d36dc159522ea5e587c5c7f6e4df080f063e9b48.tar.gz rust-d36dc159522ea5e587c5c7f6e4df080f063e9b48.zip | |
auto merge of #20794 : sfackler/rust/trailing-attrs, r=alexcrichton
Closes #20711
Diffstat (limited to 'src/libcore')
| -rw-r--r-- | src/libcore/str/mod.rs | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/libcore/str/mod.rs b/src/libcore/str/mod.rs index 6051c68b116..94ee9b7dcf6 100644 --- a/src/libcore/str/mod.rs +++ b/src/libcore/str/mod.rs @@ -1616,13 +1616,15 @@ impl<'a> Iterator for Lines<'a> { fn next(&mut self) -> Option<&'a str> { self.inner.next() } #[inline] fn size_hint(&self) -> (uint, Option<uint>) { self.inner.size_hint() } +} -#[stable]} +#[stable] impl<'a> DoubleEndedIterator for Lines<'a> { #[inline] fn next_back(&mut self) -> Option<&'a str> { self.inner.next_back() } +} -#[stable]} +#[stable] impl<'a> Iterator for LinesAny<'a> { type Item = &'a str; @@ -1630,8 +1632,9 @@ impl<'a> Iterator for LinesAny<'a> { fn next(&mut self) -> Option<&'a str> { self.inner.next() } #[inline] fn size_hint(&self) -> (uint, Option<uint>) { self.inner.size_hint() } +} -#[stable]} +#[stable] impl<'a> DoubleEndedIterator for LinesAny<'a> { #[inline] fn next_back(&mut self) -> Option<&'a str> { self.inner.next_back() } |
