Skip to content

Commit bf0c573

Browse files
committed
fix accidentially bumping MSRV
I didn't know core::error::Error would be a problem ... TIL
1 parent fc4749b commit bf0c573

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

influxdb_derive/src/writeable.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -263,12 +263,12 @@ pub fn expand_writeable(input: DeriveInput) -> syn::Result<TokenStream> {
263263
}
264264
}
265265

266-
impl<T> ::core::error::Error for Error<T>
266+
impl<T> ::std::error::Error for Error<T>
267267
where
268268
Timestamp: TryFrom<T>,
269-
<Timestamp as TryFrom<T>>::Error: ::core::error::Error + 'static
269+
<Timestamp as TryFrom<T>>::Error: ::std::error::Error + 'static
270270
{
271-
fn source(&self) -> Option<&(dyn ::core::error::Error + 'static)> {
271+
fn source(&self) -> Option<&(dyn ::std::error::Error + 'static)> {
272272
match self {
273273
Self::TimestampError(err) => Some(err),
274274
Self::QueryError(err) => Some(err)

0 commit comments

Comments
 (0)