File tree Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ refs/heads/snap-stage3: 78a7676898d9f80ab540c6df5d4c9ce35bb50463
5
5
refs/heads/try: 519addf6277dbafccbb4159db4b710c37eaa2ec5
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8
- refs/heads/try2: fd52224e78fe14828f8750fed469cc5c40f260e7
8
+ refs/heads/try2: 4d69696ff62fb9f069fd8f64eaa0defe4c8c9cf7
9
9
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
10
10
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
11
11
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
Original file line number Diff line number Diff line change @@ -1173,9 +1173,7 @@ fn real_args_as_bytes() -> Vec<Vec<u8>> {
1173
1173
let utf_c_str: * const libc:: c_char =
1174
1174
mem:: transmute ( objc_msgSend ( tmp, utf8Sel) ) ;
1175
1175
let s = CString :: new ( utf_c_str, false ) ;
1176
- if s. is_not_null ( ) {
1177
- res. push ( s. as_bytes_no_nul ( ) . to_vec ( ) )
1178
- }
1176
+ res. push ( s. as_bytes_no_nul ( ) . to_vec ( ) )
1179
1177
}
1180
1178
}
1181
1179
Original file line number Diff line number Diff line change @@ -278,9 +278,10 @@ mod imp {
278
278
let cnt = unsafe { backtrace ( buf. as_mut_ptr ( ) , SIZE as libc:: c_int ) as uint } ;
279
279
280
280
// skipping the first one as it is write itself
281
- result :: fold_ ( range ( 1 , cnt) . map ( |i| {
281
+ let iter = range ( 1 , cnt) . map ( |i| {
282
282
print ( w, i as int , buf[ i] )
283
- } ) )
283
+ } ) ;
284
+ result:: fold ( iter, ( ) , |_, _| ( ) )
284
285
}
285
286
286
287
#[ cfg( not( target_os = "ios" , target_arch = "arm" ) ) ]
You can’t perform that action at this time.
0 commit comments