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
language: rust
rust:
- 1.0.0
- 1.1.0
- 1.2.0
- 1.3.0
- 1.4.0
- 1.5.0
- stable
- beta
- nightly
script:
- cargo build --verbose
- cargo test --verbose

View file

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