Skip to content

Commit 43e3f74

Browse files
committed
Comply with latest rust-ansi-term
1 parent e1693cd commit 43e3f74

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.travis.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,4 @@ install:
66
- sudo apt-get install rust-nightly cargo
77
script:
88
- cargo build
9-
- rustc --test src/exa.rs -o exa-test
10-
- ./exa-test
11-
9+
- cargo test

src/exa.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ fn exa(options: &Options, print_header: bool, string: String) {
8989
// results are cached.
9090

9191
let lengths: Vec<Vec<uint>> = table.iter()
92-
.map(|row| row.iter().map(|col| strip_formatting(col).len()).collect())
92+
.map(|row| row.iter().map(|col| strip_formatting(col.clone()).len()).collect())
9393
.collect();
9494

9595
let column_widths: Vec<uint> = range(0, options.columns.len())

0 commit comments

Comments
 (0)