summaryrefslogtreecommitdiffstats
path: root/src/cell.rs
diff options
context:
space:
mode:
authorPierre-Henri Symoneaux <phsym@users.noreply.github.com>2019-08-26 22:00:25 +0200
committerGitHub <noreply@github.com>2019-08-26 22:00:25 +0200
commit6bb234c979f8153f8ee8eede5cbb9a1ae2658f23 (patch)
tree3240b3ffdd53f569627d63484030bba6f15b3dd2 /src/cell.rs
parentbdfb15081cf5e44934a08941f18a6eaba8275e1e (diff)
parent2040ec8190518db84d1651c596950488750ab567 (diff)
Merge pull request #114 from phsym/printstd-nopanic
Remove panic in print_tty and return a Result
Diffstat (limited to 'src/cell.rs')
-rw-r--r--src/cell.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cell.rs b/src/cell.rs
index 410ebd1..4b54f19 100644
--- a/src/cell.rs
+++ b/src/cell.rs
@@ -230,8 +230,7 @@ impl Cell {
for a in &self.style {
match out.attr(*a) {
Ok(..) | Err(::term::Error::NotSupported) | Err(::term::Error::ColorOutOfRange) => {
- ()
- } // Ignore unsupported atrributes
+ } // Ignore unsupported attributes
Err(e) => return Err(term_error_to_io_error(e)),
};
}