Skip to content

Commit abba3e1

Browse files
authored
Merge pull request #1034 from borngraced/patch-1
Fixed incomplete type StorageRequestFuture declaration
2 parents b552db6 + 7bd95e4 commit abba3e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

posts/2022-09-22-Rust-1.64.0.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ impl StorageRequest {
103103
// The new implementations:
104104
// 1. create a new named future type
105105
// 2. implement `IntoFuture` for `StorageRequest`
106-
pub type StorageRequestFuture = Pin<Box<dyn Future<Output = Result<StorageResponse, Error> + Send + 'static>>
106+
pub type StorageRequestFuture = Pin<Box<dyn Future<Output = Result<StorageResponse, Error>> + Send + 'static>>
107107
impl IntoFuture for StorageRequest {
108108
type IntoFuture = StorageRequestFuture;
109109
type Output = <StorageRequestFuture as Future>::Output;

0 commit comments

Comments
 (0)