diff options
author | Lars Bergstrom <lars@lars.com> | 2014-04-05 10:11:38 +0200 |
---|---|---|
committer | Lars Bergstrom <lars@lars.com> | 2014-04-27 15:46:12 -0500 |
commit | 948daf242278b22d7a15c1c594129785d1cff538 (patch) | |
tree | 513345ea70f134bf4a85d8e2cdbe166bfee904f6 /src/components/style/errors.rs | |
parent | 4942cc76bd2c88e5fdc2b4de4c1ac4576100b455 (diff) | |
download | servo-948daf242278b22d7a15c1c594129785d1cff538.tar.gz servo-948daf242278b22d7a15c1c594129785d1cff538.zip |
This batch of changes upgrades Servo to work with the Rust upgrade as of
April 10, 2014. The main changes are to privacy, to work around the
issues with incorrect bounds on the libstd `Arc<Mutex<T>>`, and the
various API changes strewn throughout the libraries.
Diffstat (limited to 'src/components/style/errors.rs')
-rw-r--r-- | src/components/style/errors.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/style/errors.rs b/src/components/style/errors.rs index d07b7e84e5f..db3372bb9e4 100644 --- a/src/components/style/errors.rs +++ b/src/components/style/errors.rs @@ -6,7 +6,7 @@ use std::local_data; use cssparser::ast::{SyntaxError, SourceLocation}; -pub struct ErrorLoggerIterator<I>(I); +pub struct ErrorLoggerIterator<I>(pub I); impl<T, I: Iterator<Result<T, SyntaxError>>> Iterator<T> for ErrorLoggerIterator<I> { fn next(&mut self) -> Option<T> { |