File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: c11c44abc03c52a0fd8dd58fcc80d571cb69e70e
2
+ refs/heads/master: 91e04f7dd2b5af90ea9513b4d8622574fcf416c7
Original file line number Diff line number Diff line change @@ -128,7 +128,9 @@ fn make_dir(p: path, mode: int) -> bool {
128
128
fn mkdir ( _p : path , _mode : int ) -> bool {
129
129
// FIXME: turn mode into something useful?
130
130
let noctx = ptr:: null<os:: kernel32:: LPSECURITY_ATTRIBUTES >( ) ;
131
- ret str:: as_buf ( _p, { |buf| os:: kernel32:: CreateDirectory ( buf, noctx) } ) ;
131
+ ret str:: as_buf ( _p, { |buf|
132
+ os:: kernel32:: CreateDirectory ( buf, noctx)
133
+ } ) ;
132
134
}
133
135
134
136
#[ cfg( target_os = "linux" ) ]
Original file line number Diff line number Diff line change @@ -67,7 +67,8 @@ fn mk_rng() -> rng {
67
67
let s = "" ;
68
68
let i = 0 u;
69
69
while ( i < len) {
70
- let n = rustrt:: rand_next ( * * c) as uint % str:: char_len ( charset) ;
70
+ let n = rustrt:: rand_next ( * * c) as uint %
71
+ str:: char_len ( charset) ;
71
72
s = s + str:: from_char ( str:: char_at ( charset, n) ) ;
72
73
i += 1 u;
73
74
}
You can’t perform that action at this time.
0 commit comments