replace_err 1.0.0

Adds a `replace_err` method to `Result` which throws away the current error and replaces it.
Documentation

replace_err

Adds a method, replace_err to Result which throws away the current error and replaces it with a new error type, equivalent to result.map_err(|_| new_error_value).

License

This code is dual-licensed MIT and Apache 2.0. Take your pick.