Skip to content

Commit 82ced8a

Browse files
committed
remove additional into_iters
1 parent 53a86d3 commit 82ced8a

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

  • framework/contracts/native/version-control/src

framework/contracts/native/version-control/src/queries.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,7 @@ pub fn handle_module_list_query(
120120
mod_lib
121121
.range(deps.storage, start_bound, None, Order::Ascending)
122122
.take(limit)
123-
.collect::<StdResult<Vec<_>>>()?
124-
.into_iter(),
123+
.collect::<StdResult<Vec<_>>>()?,
125124
);
126125
};
127126

@@ -162,8 +161,7 @@ pub fn handle_namespaces_query(
162161
.account_id
163162
.prefix(account_id)
164163
.range(deps.storage, None, None, Order::Ascending)
165-
.collect::<StdResult<Vec<_>>>()?
166-
.into_iter(),
164+
.collect::<StdResult<Vec<_>>>()?,
167165
);
168166
}
169167

0 commit comments

Comments
 (0)