diff options
author | pierresy <pierre-henri.symoneaux@alcatel-lucent.com> | 2015-08-12 22:46:28 +0200 |
---|---|---|
committer | pierresy <pierre-henri.symoneaux@alcatel-lucent.com> | 2015-08-12 22:56:00 +0200 |
commit | e34ab9c806d63a3af955a74be1a9f1621bd154de (patch) | |
tree | 217a454ce1a2afb3c647ce29181d9bad04b2d827 /src/cell.rs | |
parent | 3434a1d07c23aef3ef368713d3a6d21523398818 (diff) |
Updated crate version to 0.2.0
Diffstat (limited to 'src/cell.rs')
-rw-r--r-- | src/cell.rs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/cell.rs b/src/cell.rs index d57908d..2fe6380 100644 --- a/src/cell.rs +++ b/src/cell.rs @@ -2,7 +2,6 @@ use std::io::{Write, Error};
use std::string::ToString;
-use std::str::FromStr;
use unicode_width::UnicodeWidthStr;
use super::format::Align;
@@ -85,13 +84,6 @@ impl <'a, T: ToString> From<&'a T> for Cell { }
}
-impl FromStr for Cell {
- type Err = ();
- fn from_str(s: &str) -> Result<Cell, Self::Err> {
- return Ok(Cell::new(s));
- }
-}
-
impl ToString for Cell {
fn to_string(&self) -> String {
return self.get_content();
|