summaryrefslogtreecommitdiffstats
path: root/src/cell.rs
diff options
context:
space:
mode:
authorMohamed Hayibor <mohamedhayibor@gmail.com>2016-08-21 17:24:49 -0400
committerMohamed Hayibor <mohamedhayibor@gmail.com>2016-08-21 17:24:49 -0400
commit8d9f827e9b2e5a0c001244d2f576bc45e75e1548 (patch)
tree2857c8939a3b1649c5a74d43b94904b37be9512e /src/cell.rs
parent8d271aa5bd95eaab3615f04ad9f177e88e6dff49 (diff)
Remove extraneous return statements
Diffstat (limited to 'src/cell.rs')
-rw-r--r--src/cell.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cell.rs b/src/cell.rs
index 29aa3e3..beb6a4a 100644
--- a/src/cell.rs
+++ b/src/cell.rs
@@ -31,12 +31,12 @@ impl Cell {
width = l;
}
}
- return Cell {
+ Cell {
content: content,
width: width,
align: align,
style: Vec::new()
- };
+ }
}
/// Create a new `Cell` initialized with content from `string`.