mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-25 11:14:46 +00:00
Fix long lines
This commit is contained in:
parent
8901563c0b
commit
919ca13abd
@ -39,7 +39,8 @@ pub fn resolve<R: Registry>(deps: &[Dependency],
|
||||
}
|
||||
|
||||
if opts.len() > 1 {
|
||||
return Err(internal("Temporarily, Cargo only supports a single result for a dependency"))
|
||||
return Err(internal("Temporarily, Cargo only supports a single \
|
||||
result for a dependency"))
|
||||
}
|
||||
|
||||
let pkg = opts.get(0).clone();
|
||||
|
@ -101,7 +101,8 @@ impl Shell {
|
||||
Ok(())
|
||||
}
|
||||
|
||||
pub fn say_status<T: Show, U: Show>(&mut self, status: T, message: U, color: Color) -> IoResult<()> {
|
||||
pub fn say_status<T: Show, U: Show>(&mut self, status: T, message: U,
|
||||
color: Color) -> IoResult<()> {
|
||||
try!(self.reset());
|
||||
if color != BLACK { try!(self.fg(color)); }
|
||||
if self.supports_attr(Bold) { try!(self.attr(Bold)); }
|
||||
|
@ -19,7 +19,8 @@ struct Context<'a> {
|
||||
config: &'a mut Config<'a>
|
||||
}
|
||||
|
||||
pub fn compile_packages(pkg: &Package, deps: &PackageSet, shell: &mut MultiShell) -> CargoResult<()> {
|
||||
pub fn compile_packages(pkg: &Package, deps: &PackageSet,
|
||||
shell: &mut MultiShell) -> CargoResult<()> {
|
||||
debug!("compile_packages; pkg={}; deps={}", pkg, deps);
|
||||
|
||||
let mut config = try!(Config::new(shell));
|
||||
|
Loading…
x
Reference in New Issue
Block a user