Skip to content

Commit a319fe8

Browse files
committed
---
yaml --- r: 64297 b: refs/heads/snap-stage3 c: 563172a h: refs/heads/master i: 64295: 17e0ba1 v: v3
1 parent e3f1df5 commit a319fe8

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: 2d28d645422c1617be58c8ca7ad9a457264ca850
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 1a46afb3be3c12102d5c0e5ac7b3bb1debf207a0
4+
refs/heads/snap-stage3: 563172a73be64aa2b0f528346095aba566753d14
55
refs/heads/try: 7b78b52e602bb3ea8174f9b2006bff3315f03ef9
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/src/librustpkg/installed_packages.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ use std::os;
1515

1616
pub fn list_installed_packages(f: &fn(&PkgId) -> bool) -> bool {
1717
let workspaces = rust_path();
18-
for workspaces.iter().advance() |p| {
18+
for workspaces.iter().advance |p| {
1919
let binfiles = os::list_dir(&p.push("bin"));
2020
for binfiles.iter().advance() |exec| {
2121
f(&PkgId::new(*exec));
@@ -30,7 +30,7 @@ pub fn list_installed_packages(f: &fn(&PkgId) -> bool) -> bool {
3030

3131
pub fn package_is_installed(p: &PkgId) -> bool {
3232
let mut is_installed = false;
33-
let _ = do list_installed_packages() |installed| {
33+
do list_installed_packages() |installed| {
3434
if installed == p {
3535
is_installed = true;
3636
}

branches/snap-stage3/src/librustpkg/testsuite/pass/src/install-paths/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,5 @@ use lib::f;
2424
mod lib;
2525

2626
fn main() {
27-
let _ = f();
27+
f();
2828
}

0 commit comments

Comments
 (0)