The `From` stuff is coolest for error types with t...
# development
a
The
From
stuff is coolest for error types with the
?
operator:
Copy code
fn do_something() -> Result<String, String> {
  Err("foo".to_owned())
}

fn foo() -> Result<String, MyError> {
  do_something()?
}
will Just Work with no
.into()
call because the
?
operator will automatically call
.into()
if needed