&mut |line| on_stderr_line(state, line, package_id, &target, &mut output_options),
)
.map_err(verbose_if_simple_exit_code)
- .chain_err(|| format!("could not compile `{}`.", name))?;
+ .chain_err(|| format!("could not compile `{}`", name))?;
}
if rustc_dep_info_loc.exists() {
&mut |line| on_stderr_line(state, line, package_id, &target, &mut output_options),
false,
)
- .chain_err(|| format!("could not document `{}`.", name))?;
+ .chain_err(|| format!("could not document `{}`", name))?;
Ok(())
}))
}