Simplified type hint.
This commit is contained in:
@@ -42,7 +42,7 @@ where
|
|||||||
.await?
|
.await?
|
||||||
.into_iter()
|
.into_iter()
|
||||||
.map(decode)
|
.map(decode)
|
||||||
.collect::<Result<_, DecodeError>>()?;
|
.collect::<Result<_, _>>()?;
|
||||||
|
|
||||||
Ok(transactions)
|
Ok(transactions)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ where
|
|||||||
.await?
|
.await?
|
||||||
.into_iter()
|
.into_iter()
|
||||||
.map(decode)
|
.map(decode)
|
||||||
.collect::<Result<_, DecodeError>>()?;
|
.collect::<Result<_, _>>()?;
|
||||||
|
|
||||||
Ok(transactions)
|
Ok(transactions)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ where
|
|||||||
.await?
|
.await?
|
||||||
.into_iter()
|
.into_iter()
|
||||||
.map(decode)
|
.map(decode)
|
||||||
.collect::<Result<Vec<_>, DecodeError>>()?;
|
.collect::<Result<Vec<_>, _>>()?;
|
||||||
|
|
||||||
Ok(secrets)
|
Ok(secrets)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ where
|
|||||||
.await?
|
.await?
|
||||||
.into_iter()
|
.into_iter()
|
||||||
.map(decode)
|
.map(decode)
|
||||||
.collect::<Result<_, DecodeError>>()?;
|
.collect::<Result<_, _>>()?;
|
||||||
|
|
||||||
Ok(users)
|
Ok(users)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user