mirror of
https://github.com/posborne/rust-pstree.git
synced 2024-12-26 15:06:03 +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
|
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
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue