Skip to content

Commit e4fb059

Browse files
committed
---
yaml --- r: 234422 b: refs/heads/tmp c: 8083908 h: refs/heads/master v: v3
1 parent ac25c27 commit e4fb059

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
@@ -25,7 +25,7 @@ refs/tags/0.11.0: e1247cb1d0d681be034adb4b558b5a0c0d5720f9
2525
refs/tags/0.12.0: f0c419429ef30723ceaf6b42f9b5a2aeb5d2e2d1
2626
refs/heads/beta: d2e13e822a73e0ea46ae9e21afdd3155fc997f6d
2727
refs/tags/1.0.0-alpha: e42bd6d93a1d3433c486200587f8f9e12590a4d7
28-
refs/heads/tmp: 9cca96545faf2cfc972cc67b83deae2a78935c43
28+
refs/heads/tmp: 808390817aa50b6251e957075c22a688bc96ce9f
2929
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
3030
refs/tags/homu-tmp: ab792abf1fcc28afbd315426213f6428da25c085
3131
refs/tags/1.0.0-beta: 8cbb92b53468ee2b0c2d3eeb8567005953d40828

branches/tmp/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/tmp/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/tmp/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)