File tree Expand file tree Collapse file tree 4 files changed +5
-7
lines changed Expand file tree Collapse file tree 4 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ refs/tags/0.9: 36870b185fc5f5486636d4515f0e22677493f225
23
23
refs/tags/0.10: ac33f2b15782272ae348dbd7b14b8257b2148b5a
24
24
refs/tags/0.11.0: e1247cb1d0d681be034adb4b558b5a0c0d5720f9
25
25
refs/tags/0.12.0: f0c419429ef30723ceaf6b42f9b5a2aeb5d2e2d1
26
- refs/heads/beta: 9cca96545faf2cfc972cc67b83deae2a78935c43
26
+ refs/heads/beta: 808390817aa50b6251e957075c22a688bc96ce9f
27
27
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
28
28
refs/heads/tmp: 370fe2786109360f7c35b8ba552b83b773dd71d6
29
29
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
Original file line number Diff line number Diff line change @@ -1324,7 +1324,7 @@ impl Stack {
1324
1324
pub fn is_equal_to ( & self , rhs : & [ StackElement ] ) -> bool {
1325
1325
if self . stack . len ( ) != rhs. len ( ) { return false ; }
1326
1326
for ( i, r) in rhs. iter ( ) . enumerate ( ) {
1327
- if & self . get ( i) != r { return false ; }
1327
+ if self . get ( i) != * r { return false ; }
1328
1328
}
1329
1329
true
1330
1330
}
@@ -1334,7 +1334,7 @@ impl Stack {
1334
1334
pub fn starts_with ( & self , rhs : & [ StackElement ] ) -> bool {
1335
1335
if self . stack . len ( ) < rhs. len ( ) { return false ; }
1336
1336
for ( i, r) in rhs. iter ( ) . enumerate ( ) {
1337
- if & self . get ( i) != r { return false ; }
1337
+ if self . get ( i) != * r { return false ; }
1338
1338
}
1339
1339
true
1340
1340
}
@@ -1345,7 +1345,7 @@ impl Stack {
1345
1345
if self . stack . len ( ) < rhs. len ( ) { return false ; }
1346
1346
let offset = self . stack . len ( ) - rhs. len ( ) ;
1347
1347
for ( i, r) in rhs. iter ( ) . enumerate ( ) {
1348
- if & self . get ( i + offset) != r { return false ; }
1348
+ if self . get ( i + offset) != * r { return false ; }
1349
1349
}
1350
1350
true
1351
1351
}
Original file line number Diff line number Diff line change @@ -141,8 +141,7 @@ pub fn split_paths(unparsed: &OsStr) -> SplitPaths {
141
141
fn is_colon ( b : & u8 ) -> bool { * b == b':' }
142
142
let unparsed = unparsed. as_bytes ( ) ;
143
143
SplitPaths {
144
- iter : unparsed. split ( is_colon as fn ( & u8 ) -> bool )
145
- . map ( bytes_to_path as fn ( & [ u8 ] ) -> PathBuf )
144
+ iter : unparsed. split ( is_colon) . map ( bytes_to_path)
146
145
}
147
146
}
148
147
Original file line number Diff line number Diff line change @@ -169,7 +169,6 @@ impl Stats for [f64] {
169
169
// This inner loop applies `hi`/`lo` summation to each
170
170
// partial so that the list of partial sums remains exact.
171
171
for mut y in & mut partials {
172
- let mut y: f64 = partials[ i] ;
173
172
if x. abs ( ) < y. abs ( ) {
174
173
mem:: swap ( & mut x, & mut y) ;
175
174
}
You can’t perform that action at this time.
0 commit comments