Skip to content

Commit 4b668dd

Browse files
committed
---
yaml --- r: 59038 b: refs/heads/incoming c: b01a40d h: refs/heads/master v: v3
1 parent d7e2bc5 commit 4b668dd

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ refs/heads/try: c50a9d5b664478e533ba1d1d353213d70c8ad589
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c
9-
refs/heads/incoming: a87db3e2cd0aaaa513b13391d3ad21861d16e480
9+
refs/heads/incoming: b01a40d45930f97e83753150dc1b39b26b3b398f
1010
refs/heads/dist-snap: 00dbbd01c2aee72982b3e0f9511ae1d4428c3ba9
1111
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1212
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/incoming/src/librustpkg/workspace.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ use path_util::{rust_path, workspace_contains_package_id};
1414
use util::PkgId;
1515
use core::path::Path;
1616

17-
pub fn pkg_parent_workspaces(pkgid: PkgId, action: &fn(&Path) -> bool) {
17+
pub fn pkg_parent_workspaces(pkgid: PkgId, action: &fn(&Path) -> bool) -> bool {
1818
// Using the RUST_PATH, find workspaces that contain
1919
// this package ID
2020
let workspaces = rust_path().filtered(|ws|
@@ -31,4 +31,5 @@ pub fn pkg_parent_workspaces(pkgid: PkgId, action: &fn(&Path) -> bool) {
3131
break;
3232
}
3333
}
34-
}
34+
return true;
35+
}

0 commit comments

Comments
 (0)