Remove `'static` bound for `impl From<T> for Error`.
This commit is contained in:
parent
a511ec340a
commit
2b0e29bc92
|
@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
|
|||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
# [3.0.24] 2022-1-24
|
||||
|
||||
- Remove `'static` bound for `impl From<T> for Error`.
|
||||
|
||||
# [3.0.23] 2022-1-19
|
||||
|
||||
- Bump hashbrown from `0.11.2` to `0.12.0`.
|
||||
|
|
|
@ -281,7 +281,7 @@ impl Error {
|
|||
}
|
||||
}
|
||||
|
||||
impl<T: Display + Send + Sync + 'static> From<T> for Error {
|
||||
impl<T: Display + Send + Sync> From<T> for Error {
|
||||
fn from(e: T) -> Self {
|
||||
Self {
|
||||
message: e.to_string(),
|
||||
|
|
Loading…
Reference in New Issue