about summary refs log tree commit diff
path: root/src/liblog
diff options
context:
space:
mode:
authorDaniel Micay <danielmicay@gmail.com>2014-03-08 18:11:52 -0500
committerDaniel Micay <danielmicay@gmail.com>2014-03-20 01:30:27 -0400
commitce620320a20baa1428e679c751b1b4a8d8556ca1 (patch)
treef28a0234fe5f1d9509ef6cfa0c92448f7f29f7ec /src/liblog
parent4ca51aeea7187a63b987129d67cf7d348b6c60a9 (diff)
downloadrust-ce620320a20baa1428e679c751b1b4a8d8556ca1.tar.gz
rust-ce620320a20baa1428e679c751b1b4a8d8556ca1.zip
rename std::vec -> std::slice
Closes #12702
Diffstat (limited to 'src/liblog')
-rw-r--r--src/liblog/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/liblog/lib.rs b/src/liblog/lib.rs
index 3ff7ee390f1..7d635b80dad 100644
--- a/src/liblog/lib.rs
+++ b/src/liblog/lib.rs
@@ -125,7 +125,7 @@ use std::io;
 use std::local_data;
 use std::os;
 use std::rt;
-use std::vec;
+use std::slice;
 use std::vec_ng::Vec;
 
 use sync::one::{Once, ONCE_INIT};
@@ -247,7 +247,7 @@ pub fn mod_enabled(level: u32, module: &str) -> bool {
 }
 
 fn enabled(level: u32, module: &str,
-           iter: vec::Items<directive::LogDirective>) -> bool {
+           iter: slice::Items<directive::LogDirective>) -> bool {
     // Search for the longest match, the vector is assumed to be pre-sorted.
     for directive in iter.rev() {
         match directive.name {