~jojo/microcrisp

596471a28bc1666c97613d808ffba41a4167cb3f — JoJo 1 year, 4 months ago ddf1700
impl From<String> for Lisp
1 files changed, 5 insertions(+), 0 deletions(-)

M src/lib.rs
M src/lib.rs => src/lib.rs +5 -0
@@ 246,6 246,11 @@ impl From<&str> for Lisp {
        Lisp::String(s.to_owned())
    }
}
impl From<String> for Lisp {
    fn from(s: String) -> Lisp {
        Lisp::String(s)
    }
}
impl<T> From<Option<T>> for Lisp
where
    Lisp: From<T>,