mirror of
https://github.com/posborne/rust-pstree.git
synced 2024-12-25 06:26:07 +01:00
adress warning and update travis test versions
Signed-off-by: Paul Osborne <osbpau@gmail.com>
This commit is contained in:
parent
b99508e833
commit
2ef62f0e2d
2 changed files with 2 additions and 8 deletions
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue