File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -39,9 +39,8 @@ pub fn mk_filesearch(maybe_sysroot: &Option<@Path>,
39
39
fn sysroot ( & self ) -> @Path { self . sysroot }
40
40
fn for_each_lib_search_path ( & self , f : & fn ( & Path ) -> bool ) {
41
41
debug ! ( "filesearch: searching additional lib search paths" ) ;
42
- if !self . addl_lib_search_paths . each ( f) {
43
- return ;
44
- }
42
+ // a little weird
43
+ self . addl_lib_search_paths . each ( f) ;
45
44
46
45
debug ! ( "filesearch: searching target lib path" ) ;
47
46
if !f ( & make_target_lib_path ( self . sysroot ,
@@ -59,7 +58,7 @@ pub fn mk_filesearch(maybe_sysroot: &Option<@Path>,
59
58
match get_rustpkg_lib_path ( ) {
60
59
result:: Ok ( ref p) => f ( p) ,
61
60
result:: Err ( _) => true
62
- }
61
+ } ;
63
62
}
64
63
fn get_target_lib_path ( & self ) -> Path {
65
64
make_target_lib_path ( self . sysroot , self . target_triple )
You can’t perform that action at this time.
0 commit comments