about summary refs log tree commit diff
path: root/src/librustpkg
diff options
context:
space:
mode:
authorMarvin Löbel <loebel.marvin@gmail.com>2013-05-09 13:52:07 +0200
committerBjörn Steinbrink <bsteinbr@gmail.com>2013-05-14 16:36:24 +0200
commit04de8f852c4def51f02eb812f4ecee83d416911b (patch)
treebf394aa7ebda0ae70ae70d03f753d6de4388e939 /src/librustpkg
parentbdc182cc41c2741edc6fdc4ec09b8522479aab40 (diff)
downloadrust-04de8f852c4def51f02eb812f4ecee83d416911b.tar.gz
rust-04de8f852c4def51f02eb812f4ecee83d416911b.zip
Fix cosmetics for fail!() calls
Diffstat (limited to 'src/librustpkg')
-rw-r--r--src/librustpkg/rustpkg.rc3
-rw-r--r--src/librustpkg/workspace.rs7
2 files changed, 4 insertions, 6 deletions
diff --git a/src/librustpkg/rustpkg.rc b/src/librustpkg/rustpkg.rc
index 5c4dbce1b4a..30a84f56b5c 100644
--- a/src/librustpkg/rustpkg.rc
+++ b/src/librustpkg/rustpkg.rc
@@ -146,8 +146,7 @@ impl PkgScript {
                 }
             }
             Err(e) => {
-                fail!("Running package script, couldn't find rustpkg sysroot (%s)",
-                           e)
+                fail!("Running package script, couldn't find rustpkg sysroot (%s)", e)
             }
         }
     }
diff --git a/src/librustpkg/workspace.rs b/src/librustpkg/workspace.rs
index cf6707eed29..b0c6df05038 100644
--- a/src/librustpkg/workspace.rs
+++ b/src/librustpkg/workspace.rs
@@ -21,10 +21,9 @@ pub fn pkg_parent_workspaces(pkgid: PkgId, action: &fn(&Path) -> bool) -> bool {
         workspace_contains_package_id(pkgid, ws));
     if workspaces.is_empty() {
         // tjc: make this a condition
-        fail!("Package %s not found in any of \
-                    the following workspaces: %s",
-                   pkgid.path.to_str(),
-                   rust_path().to_str());
+        fail!("Package %s not found in any of the following workspaces: %s",
+              pkgid.path.to_str(),
+              rust_path().to_str());
     }
     for workspaces.each |ws| {
         if action(ws) {