about summary refs log tree commit diff
path: root/src/libstd/path
diff options
context:
space:
mode:
authorJorge Aparicio <japaricious@gmail.com>2014-12-04 23:50:57 -0500
committerJorge Aparicio <japaricious@gmail.com>2014-12-13 17:03:45 -0500
commit43cf7b4e457ad42aa44ad06469d6587ddb67eb2e (patch)
treec0354e4b5a5ef431343fc502a766528891d9d620 /src/libstd/path
parent9c7046573b75b988e8291c6d7bf9c126ba2b7b5a (diff)
downloadrust-43cf7b4e457ad42aa44ad06469d6587ddb67eb2e.tar.gz
rust-43cf7b4e457ad42aa44ad06469d6587ddb67eb2e.zip
libstd: fix fallout
Diffstat (limited to 'src/libstd/path')
-rw-r--r--src/libstd/path/posix.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/path/posix.rs b/src/libstd/path/posix.rs
index 6cafedcad11..3daba53cd86 100644
--- a/src/libstd/path/posix.rs
+++ b/src/libstd/path/posix.rs
@@ -29,7 +29,7 @@ use vec::Vec;
 use super::{BytesContainer, GenericPath, GenericPathUnsafe};
 
 /// Iterator that yields successive components of a Path as &[u8]
-pub type Components<'a> = Splits<'a, u8>;
+pub type Components<'a> = Splits<'a, u8, fn(&u8) -> bool>;
 
 /// Iterator that yields successive components of a Path as Option<&str>
 pub type StrComponents<'a> =