diff options
| author | Patrick Walton <pcwalton@mimiga.net> | 2013-11-19 17:36:32 -0800 |
|---|---|---|
| committer | Patrick Walton <pcwalton@mimiga.net> | 2013-11-26 08:20:58 -0800 |
| commit | 9e610573ba285619c9a59d8c1468624b6428492c (patch) | |
| tree | ef04c2714fc27e8af37303cd287f342151ae7037 /src/librustpkg/path_util.rs | |
| parent | 406813957b65a1627e9b26f73019868a7da1ae79 (diff) | |
| download | rust-9e610573ba285619c9a59d8c1468624b6428492c.tar.gz rust-9e610573ba285619c9a59d8c1468624b6428492c.zip | |
librustc: Remove remaining uses of `&fn()` in favor of `||`.
Diffstat (limited to 'src/librustpkg/path_util.rs')
| -rw-r--r-- | src/librustpkg/path_util.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustpkg/path_util.rs b/src/librustpkg/path_util.rs index bce41e5a49f..adf86d2cf9d 100644 --- a/src/librustpkg/path_util.rs +++ b/src/librustpkg/path_util.rs @@ -63,7 +63,7 @@ pub fn workspace_contains_package_id(pkgid: &PkgId, workspace: &Path) -> bool { pub fn workspace_contains_package_id_(pkgid: &PkgId, workspace: &Path, // Returns the directory it was actually found in - workspace_to_src_dir: &fn(&Path) -> Path) -> Option<Path> { + workspace_to_src_dir: |&Path| -> Path) -> Option<Path> { if !workspace.is_dir() { return None; } |
