Skip to content

Commit f2f15a2

Browse files
committed
Auto merge of #3865 - nipunn1313:clippy, r=Turbo87
Clippy fixes This fix came up when running clippy with nightly. (I was using default nightly toolchain on my machine). I noticed CI runs with stable clippy - and I added a commit to switch back to continually using stable clippy, as the comment seemed to imply that's what you wanted. I'd understand if you'd want to keep it pinned - let me know and I'll revert the change to ci/
2 parents 0d55505 + c170c24 commit f2f15a2

File tree

1 file changed

+1
-2
lines changed
  • src/controllers/user

1 file changed

+1
-2
lines changed

src/controllers/user/me.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,7 @@ pub fn updates(req: &mut dyn RequestExt) -> EndpointResult {
7676
let data = data
7777
.into_iter()
7878
.zip(VersionOwnerAction::for_versions(&conn, &versions)?.into_iter())
79-
.map(|((v, cn, pb), voas)| (v, cn, pb, voas))
80-
.collect::<Vec<_>>();
79+
.map(|((v, cn, pb), voas)| (v, cn, pb, voas));
8180

8281
let versions = data
8382
.into_iter()

0 commit comments

Comments
 (0)