diff --git a/src/lib.rs b/src/lib.rs index d15ca6f..fceddd7 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -103,7 +103,6 @@ use std::cmp::max; -use std::convert; use std::fmt; use std::iter::repeat; @@ -142,7 +141,7 @@ pub struct Cell { pub alignment: Alignment, } -impl convert::From for Cell { +impl From for Cell { fn from(string: String) -> Self { Self { width: UnicodeWidthStr::width(&*string), @@ -152,7 +151,7 @@ impl convert::From for Cell { } } -impl<'a> convert::From<&'a str> for Cell { +impl<'a> From<&'a str> for Cell { fn from(string: &'a str) -> Self { Self { width: UnicodeWidthStr::width(&*string),