diff options
| author | Florian Wilkens <floya@live.de> | 2014-12-19 21:52:10 +0100 |
|---|---|---|
| committer | Florian Wilkens <floya@live.de> | 2014-12-22 12:58:55 +0100 |
| commit | f8cfd2480b69a1cc266fc91d0b60c825a9dc18a7 (patch) | |
| tree | 6d0eff18d899f6a660797fa3fa4265fd59ad4ed7 /src/liblog/lib.rs | |
| parent | 34d680009205de2302b902d8f9f5f7ae7a042f1a (diff) | |
| download | rust-f8cfd2480b69a1cc266fc91d0b60c825a9dc18a7.tar.gz rust-f8cfd2480b69a1cc266fc91d0b60c825a9dc18a7.zip | |
Renaming of the Iter types as in RFC #344
libcore: slice::Items -> slice::Iter, slice::MutItems -> slice::IterMut libcollections: *::Items -> *::Iter, *::MoveItems -> *::IntoIter, *::MutItems -> *::IterMut This is of course a [breaking-change].
Diffstat (limited to 'src/liblog/lib.rs')
| -rw-r--r-- | src/liblog/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liblog/lib.rs b/src/liblog/lib.rs index 2bf9af90271..bd11f38c143 100644 --- a/src/liblog/lib.rs +++ b/src/liblog/lib.rs @@ -370,7 +370,7 @@ pub fn mod_enabled(level: u32, module: &str) -> bool { fn enabled(level: u32, module: &str, - iter: slice::Items<directive::LogDirective>) + iter: slice::Iter<directive::LogDirective>) -> bool { // Search for the longest match, the vector is assumed to be pre-sorted. for directive in iter.rev() { |
