adress warning and update travis test versions

Signed-off-by: Paul Osborne <osbpau@gmail.com>
This commit is contained in:
Paul Osborne 2016-03-18 14:02:45 -05:00
parent b99508e833
commit 2ef62f0e2d
2 changed files with 2 additions and 8 deletions

View file

@ -1,15 +1,9 @@
sudo: false sudo: false
language: rust language: rust
rust: rust:
- 1.0.0 - stable
- 1.1.0
- 1.2.0
- 1.3.0
- 1.4.0
- 1.5.0
- beta - beta
- nightly - nightly
script: script:
- cargo build --verbose
- cargo test --verbose - cargo test --verbose

View file

@ -175,7 +175,7 @@ fn build_process_tree() -> ProcessTree {
fn print_node(node : &ProcessTreeNode, indent_level : i32) { fn print_node(node : &ProcessTreeNode, indent_level : i32) {
// print indentation // print indentation
for _ in (0..indent_level) { for _ in 0..indent_level {
print!(" "); print!(" ");
} }
println!("- {} #{}", node.record.name, node.record.pid); println!("- {} #{}", node.record.name, node.record.pid);