diff --git a/src/check.rs b/src/check.rs index 0b6dd697cbc7c0bdb58cf6746093b43d8441694d..6e6f9d5a30e2b58f2aa2d364b2c00dcc96c20457 100644 --- a/src/check.rs +++ b/src/check.rs @@ -175,7 +175,10 @@ fn tasks(tasks: Option<::Tasks>) -> Result<Tasks> { enabled: task.enabled, path: task.path, priority: task.priority, - resources: ::check::resources("resources", task.resources)?, + resources: ::check::resources( + "resources", + task.resources, + )?, }, )) })().chain_err(|| format!("checking task `{}`", name_)) @@ -196,7 +199,7 @@ pub struct Cro { } /// Checks the syntax of the parsed `app!` macro -pub fn crc(cro: ::Cro) -> Result<Cro> { +pub fn cro(cro: ::Cro) -> Result<Cro> { Ok(Cro { ips: ::check::ips(cro.ips).chain_err(|| "checking `ips`")?, ops: ::check::ops(cro.ops).chain_err(|| "checking `ops`")?,