This repository has been archived on 2023-06-17. You can view files and clone it, but cannot push or open issues/pull-requests.
|
#[derive(Debug)] pub struct StrErr(pub String);
|
|
|
|
impl<T: ToString> From<T> for StrErr
|
|
{fn from(e: T) -> Self {StrErr(e.to_string())}}
|
|
|
|
impl StrErr {pub fn new(e: impl ToString) -> Self {StrErr(e.to_string())}}
|
|
|
|
// EOF
|