Skip to content

Commit 5b50eba

Browse files
committed
---
yaml --- r: 231840 b: refs/heads/auto c: 8083908 h: refs/heads/master v: v3
1 parent 44ba939 commit 5b50eba

File tree

4 files changed

+5
-7
lines changed

4 files changed

+5
-7
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
88
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
99
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
1010
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
11-
refs/heads/auto: 9cca96545faf2cfc972cc67b83deae2a78935c43
11+
refs/heads/auto: 808390817aa50b6251e957075c22a688bc96ce9f
1212
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c
1313
refs/tags/0.1: b19db808c2793fe2976759b85a355c3ad8c8b336
1414
refs/tags/0.2: 1754d02027f2924bed83b0160ee340c7f41d5ea1

branches/auto/src/libserialize/json.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1324,7 +1324,7 @@ impl Stack {
13241324
pub fn is_equal_to(&self, rhs: &[StackElement]) -> bool {
13251325
if self.stack.len() != rhs.len() { return false; }
13261326
for (i, r) in rhs.iter().enumerate() {
1327-
if &self.get(i) != r { return false; }
1327+
if self.get(i) != *r { return false; }
13281328
}
13291329
true
13301330
}
@@ -1334,7 +1334,7 @@ impl Stack {
13341334
pub fn starts_with(&self, rhs: &[StackElement]) -> bool {
13351335
if self.stack.len() < rhs.len() { return false; }
13361336
for (i, r) in rhs.iter().enumerate() {
1337-
if &self.get(i) != r { return false; }
1337+
if self.get(i) != *r { return false; }
13381338
}
13391339
true
13401340
}
@@ -1345,7 +1345,7 @@ impl Stack {
13451345
if self.stack.len() < rhs.len() { return false; }
13461346
let offset = self.stack.len() - rhs.len();
13471347
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; }
13491349
}
13501350
true
13511351
}

branches/auto/src/libstd/sys/unix/os.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,7 @@ pub fn split_paths(unparsed: &OsStr) -> SplitPaths {
141141
fn is_colon(b: &u8) -> bool { *b == b':' }
142142
let unparsed = unparsed.as_bytes();
143143
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)
146145
}
147146
}
148147

branches/auto/src/libtest/stats.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,6 @@ impl Stats for [f64] {
169169
// This inner loop applies `hi`/`lo` summation to each
170170
// partial so that the list of partial sums remains exact.
171171
for mut y in &mut partials {
172-
let mut y: f64 = partials[i];
173172
if x.abs() < y.abs() {
174173
mem::swap(&mut x, &mut y);
175174
}

0 commit comments

Comments
 (0)