diff options
Diffstat (limited to 'src/librustpkg/workspace.rs')
| -rw-r--r-- | src/librustpkg/workspace.rs | 5 | 
1 files changed, 3 insertions, 2 deletions
diff --git a/src/librustpkg/workspace.rs b/src/librustpkg/workspace.rs index 15e2166b24a..94b94d373e6 100644 --- a/src/librustpkg/workspace.rs +++ b/src/librustpkg/workspace.rs @@ -14,7 +14,7 @@ use path_util::{rust_path, workspace_contains_package_id}; use util::PkgId; use core::path::Path; -pub fn pkg_parent_workspaces(pkgid: PkgId, action: &fn(&Path) -> bool) { +pub fn pkg_parent_workspaces(pkgid: PkgId, action: &fn(&Path) -> bool) -> bool { // Using the RUST_PATH, find workspaces that contain // this package ID let workspaces = rust_path().filtered(|ws| @@ -31,4 +31,5 @@ pub fn pkg_parent_workspaces(pkgid: PkgId, action: &fn(&Path) -> bool) { break; } } -} \ No newline at end of file + return true; +}  | 
